-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-9.1.0
-
None
-
Low
-
rhel-sst-virtualization
-
ssg_virtualization
-
3
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
live update interface to delete rom setting succeed but no changes in live xml
Version-Release number of selected component (if applicable):
libvirt-8.8.0-1.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1. start a vm with interface configured with <rom enabled='no'/>;
# virsh start test1 Domain 'test1' started # virsh dumpxml test1 --xpath //interface <interface type="network"> <mac address="52:54:00:cd:bd:e6"/> <source network="default" portid="35986e43-baac-4c5b-b774-7a29a22c77c8" bridge="virbr0"/> <target dev="vnet1"/> <model type="virtio"/> <alias name="net0"/> <rom enabled="no"/> <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> </interface>
2. try to live update the interface to delete the rom settings(the default is enabled='yes')
# cat interface.xml <interface type="network"> <mac address="52:54:00:cd:bd:e6"/> <source network="default" portid="35986e43-baac-4c5b-b774-7a29a22c77c8" bridge="virbr0"/> <target dev="vnet1"/> <model type="virtio"/> <alias name="net0"/> <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> </interface> # virsh update-device test1 interface.xml Device updated successfully # virsh dumpxml test1 --xpath //interface <interface type="network"> <mac address="52:54:00:cd:bd:e6"/> <source network="default" portid="35986e43-baac-4c5b-b774-7a29a22c77c8" bridge="virbr0"/> <target dev="vnet1"/> <model type="virtio"/> <alias name="net0"/> <rom enabled="no"/> <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> </interface>
3. try to live update the rom enabled from 'no' to 'yes'
# cat interface.xml <interface type="network"> <mac address="52:54:00:cd:bd:e6"/> <source network="default" portid="35986e43-baac-4c5b-b774-7a29a22c77c8" bridge="virbr0"/> <target dev="vnet1"/> <model type="virtio"/> <alias name="net0"/> <rom enabled="yes"/> <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> </interface> # virsh update-device test1 interface.xml error: Failed to update device from interface.xml error: Operation not supported: cannot modify network device rom enabled setting
Actual results:
Step 2, the live update return succeed, but the live xml do not change
Expected results:
Step 2 should fail just like step 3
Additional info:
- external trackers