Bug 1825769 - The sub-element for video device should be "interleave" in rng file
Summary: The sub-element for video device should be "interleave" in rng file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 8.3
Assignee: khanicov
QA Contact: zhentang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-20 08:30 UTC by Lili Zhu
Modified: 2021-11-16 07:51 UTC (History)
9 users (show)

Fixed In Version: libvirt-7.3.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 07:49:57 UTC
Type: Bug
Target Upstream Version: 7.2.0
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.