And something to add : How to add unique passthrough hardware/folders
I only found this out afterwards, so only editing the xml would be more difficult. You need to use UI and edit xml.
The tricky bit is that in the xml the virtual addressing for the passthrough "hardware"" needs to be unique. This is in every device-entry handeled by this line :
I tried changing for instance slot or bus to a random number but if you get it wrong (not unique or not conforming to general linux rules) the entire device-entry gets removed.
So what you can do is first use the UI to add a "mapped" folder in the xml. This way you get an entry with a unique address. And then you change accessmode "mapped" to "passthrough" and add two lines like in my post above.
Also, to mount automatically use this in /etc/fstab :