Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-70656

virt-xml-validate fails for hyperv element

    • No
    • Low
    • rhel-sst-virt-tools
    • ssg_virtualization
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • 11.0.0
    • None

      What were you trying to do that didn't work?

      As subject

      What is the impact of this issue to you?

      virt-xml-validate fail

      Please provide the package NVR for which the bug is seen:

      libvirt-10.10.0-1.el9.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      Create a domain with hyperv:

      ➜  ~ xmllint --xpath //hyperv win11-hyperv-full.xml 
      <hyperv mode="passthrough">
            <relaxed state="on"/>
            <vapic state="on"/>
            <spinlocks state="on" retries="12287"/>
            <vpindex state="on"/>
            <runtime state="on"/>
            <synic state="on"/>
            <stimer state="on">
              <direct state="on"/>
            </stimer>
            <reset state="on"/>
            <vendor_id state="on" value="KVM Hv"/>
            <frequencies state="on"/>
            <reenlightenment state="on"/>
            <tlbflush state="on"/>
            <ipi state="on"/>
            <evmcs state="on"/>
            <avic state="on"/>
            <emsr_bitmap state="on"/>
            <xmm_input state="on"/>
          </hyperv>
      
      ➜  ~ virsh create win11-hyperv-full.xml            
      Domain 'win11' created from win11-hyperv-full.xml
      
      ➜  ~ virsh dumpxml win11 |virt-xml-validate -   
      Relax-NG validity error : Extra element features in interleave
      -:16: element features: Relax-NG validity error : Element domain failed to validate content
      - fails to validate

      XML: win11-hyperv-full.xml

      Expected results

      Actual results

       

              jdenemar@redhat.com Jiri Denemark
              rhn-support-hhan Han Han
              Martin Kletzander Martin Kletzander
              Zhen Tang Zhen Tang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: