-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-9.5
-
No
-
None
-
rhel-sst-virtualization
-
ssg_virtualization
-
3
-
False
-
-
None
-
None
-
None
-
None
-
None
Please provide the package NVR for which bug is seen:
libvirt-10.5.0-5.el9.x86_64
How reproducible:
100%
Steps to reproduce:
1. Prepare a guest with following virtiofs device # virsh dumpxml avocado-vt-vm1 --xpath //filesystem <filesystem type="mount" accessmode="passthrough"> <driver type="virtiofs" queue="1024"/> <binary path="/usr/libexec/virtiofsd" xattr="on"> <cache mode="always"/> <sandbox mode="namespace"/> <thread_pool size="16"/> </binary> <source dir="/path"/> <target dir="mount_tag"/> <alias name="fs0"/> <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/> </filesystem>
2. Prepare a virtiofs device xml
<filesystem type="mount" accessmode="passthrough"> <driver type="virtiofs" queue=**"512"**/> <binary path="/usr/libexec/virtiofsd" xattr="on"> <cache mode="always"/> <sandbox mode="namespace"/> <thread_pool size="16"/> </binary> <source dir="/path"/> <target dir="mount_tag"/> <alias name="fs0"/> <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/> </filesystem>
3. Try to update the device
# virsh update-device avocado-vt-vm1 fs.xml error: Failed to update device from fs.xml error: unsupported configuration: filesystem target 'mount_tag' specified twice
# virsh update-device avocado-vt-vm1 fs.xml --config error: Failed to update device from fs.xml error: unsupported configuration: filesystem target 'mount_tag' specified twice
# virsh update-device avocado-vt-vm1 fs.xml --persistent error: Failed to update device from fs.xml error: unsupported configuration: filesystem target 'mount_tag' specified twice
Expected result:
Should report error like:
error: unsupported configuration: live/persistent update of device 'filesystem' is not supported