-device '{"driver":"virtio-9p-pci","id":"fs0","fsdev":"fsdev-fs0","mount_tag":"/import/from/host","bus":"pci.0","addr":"0x2"}' \
-fsdev local,security_model=mapped,writeout=immediate,id=fsdev-fs1,path=/export/to/guest2 \
-device '{"driver":"virtio-9p-pci","id":"fs1","fsdev":"fsdev-fs1","mount_tag":"/import/from/host2","bus":"pci.0","addr":"0x3"}' \
+-fsdev local,security_model=mapped,id=fsdev-fs2,path=/export/to/guest-ro,readonly=on \
+-device '{"driver":"virtio-9p-pci","id":"fs2","fsdev":"fsdev-fs2","mount_tag":"/import/from/host-ro","bus":"pci.0","addr":"0x4"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
<target dir='/import/from/host2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</filesystem>
+ <filesystem type='mount' accessmode='mapped'>
+ <driver type='path'/>
+ <source dir='/export/to/guest-ro'/>
+ <target dir='/import/from/host-ro'/>
+ <readonly/>
+ <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
+ </filesystem>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<source dir='/export/to/guest2'/>
<target dir='/import/from/host2'/>
</filesystem>
+ <filesystem accessmode='mapped'>
+ <driver type='path'/>
+ <source dir='/export/to/guest-ro'/>
+ <target dir='/import/from/host-ro'/>
+ <readonly/>
+ </filesystem>
<memballoon model='none'/>
</devices>
</domain>