Bug 1825769

Summary: The sub-element for video device should be "interleave" in rng file
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Lili Zhu <lizhu>
Component: libvirtAssignee: khanicov
Status: CLOSED ERRATA QA Contact: zhentang <zhetang>
Severity: low Docs Contact:
Priority: low    
Version: 8.2CC: chhu, fjin, jdenemar, jsuchane, khanicov, lmen, mprivozn, virt-maint, xuzhang
Target Milestone: rcKeywords: Triaged, Upstream
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-7.3.0-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 07:49:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version: 7.2.0
Embargoed:

Description Lili Zhu 2020-04-20 08:30:17 UTC
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

Comment 1 Lili Zhu 2020-04-20 08:31:39 UTC
xml in the additional info should be:
# cat rhel.xml
<video>
      <driver name='qemu'/>
      <model type='virtio'/>
</video>

Comment 3 khanicov 2021-03-11 13:06:03 UTC
Patch proposed on the list:
https://listman.redhat.com/archives/libvir-list/2021-March/msg00521.html

Comment 4 khanicov 2021-03-11 16:50:32 UTC
Merged upstream as:

cd217e702c Add 'interleave' to the sub-element for video device in rng file

v7.1.0-170-gcd217e702c

Comment 5 Michal Privoznik 2021-03-11 16:52:42 UTC
Moving to POST per comment 4.

Comment 8 zhentang 2021-06-08 09:03:32 UTC
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

Comment 10 errata-xmlrpc 2021-11-16 07:49:57 UTC
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