Description of problem: The sub-element for panic device should be "interleave" in rng file Version-Release number of selected component (if applicable): libvirt-daemon-6.0.0-17.module+el8.2.0+6257+0d066c28.x86_64 How reproducible: 100% Steps to Reproduce: 1. edit the guest xml # cat rhel.xml .... <video> <model type='virtio'/> <driver name='qemu'/> </video> .... 2. validate the xml # virt-xml-validate rhel.xml Relax-NG validity error : Extra element devices in interleave rhel.xml:58: element devices: Relax-NG validity error : Element domain failed to validate content rhel.xml fails to validate Actual results: validation failed Additional info: 1. edit the guest xml # cat rhel.xml <video> <model type='virtio'/> <driver name='qemu'/> </video> # virt-xml-validate rhel.xml rhel.xml validates
xml in the additional info should be: # cat rhel.xml <video> <driver name='qemu'/> <model type='virtio'/> </video>
Patch proposed on the list: https://listman.redhat.com/archives/libvir-list/2021-March/msg00521.html
Merged upstream as: cd217e702c Add 'interleave' to the sub-element for video device in rng file v7.1.0-170-gcd217e702c
Moving to POST per comment 4.
verified ======================================== Compiled against library: libvirt 7.4.0 Using library: libvirt 7.4.0 Using API: QEMU 7.4.0 Running hypervisor: QEMU 5.2.0 xml: ... <video> <model type='virtio'/> <driver name='qemu'/> </video> ... # virt-xml-validate tztest_bug.xml tztest_bug.xml validates
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