Description of problem: xml validate should fail when config 'ramfb' video with pci or dimm address Version-Release number of selected component (if applicable): libvirt-daemon-6.6.0-7.module+el8.3.0+8424+5ea525c5.x86_64 How reproducible: 100% Steps to Reproduce: 1. prepare a guest xml containing 'ramfb' video with pci or dimm address # cat avocado-vt-vm1.xml ... <video> <model type='ramfb' heads='1' primary='yes'/> <address type='dimm' slot='1'/> </video> ... or ... <video> <model type='ramfb' heads='1' primary='yes'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </video> ... 2. try to validate the guest xml # virt-xml-validate avocado-vt-vm1.xml avocado-vt-vm1.xml validates Expected results: validate the above guest xml should fail, since address' is not supported for 'ramfb' video devices Additional info:
Patch proposed on the list: https://listman.redhat.com/archives/libvir-list/2021-March/msg00289.html
Merged upstream as: f11f32326f XML validate that 'ramfb' has no address v7.1.0-169-gf11f32326f
Moving to POST per comment 2.
Verify this bug with: libvirt-7.3.0-1.module+el8.5.0+11004+f4810536.x86_64 As the testing result matches with the expected result in discription, mark the bug as verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (virt:av bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4684