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

Domain XML validating failure when poll max is set to 9223372036854775807

    • libvirt-9.9.0-1.el9
    • None
    • None
    • rhel-sst-virtualization
    • ssg_virtualization
    • 13
    • 18
    • None
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • All
    • 9.8.0
    • None

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

      Please provide the package NVR for which bug is seen:

      libvirt-9.5.0-6.el9.x86_64

      qemu-kvm-8.0.0-13.el9.x86_64

      How reproducible:

      100%

      Steps to reproduce

      1. Prepare a domain XML with poll max="9223372036854775807"

      <domain ...>

      <iothreads>4</iothreads>

      <iothreadids>
          <iothread id="2"/>
          <iothread id="4"/>
          <iothread id="6">
            <poll max="922" grow="222" shrink="222"/>
          </iothread>
          <iothread id="8" thread_pool_min="2147483647" thread_pool_max="2147483647">
            <poll max="9223372036854775807" grow="456" shrink="789"/>
          </iothread>
        </iothreadids>

      /<domain>

      2. Define and start the domain

      ➜  ~ virsh define /tmp/rhel.xml
      Domain 'rhel-test' defined from /tmp/rhel.xml

      ➜  ~ virsh start rhel-test     
      Domain 'rhel-test' started

       

      3. Validate the live XML by virt-xml-validate

      ➜  ~ virsh dumpxml rhel-test|virt-xml-validate -
      Relax-NG validity error : Extra element iothreadids in interleave
      -:1: element domain: Relax-NG validity error : Invalid sequence in interleave
      -:1: element domain: Relax-NG validity error : Element domain failed to validate content

      fails to validate

       

       

      Expected results

      virt-xml-validate pass

      Actual results

      As above.

       

      Additional info:

      It works when poll max="922"

              mkletzan@redhat.com Martin Kletzander
              hanhansolo Han Han
              virt-maint virt-maint
              Fangge Jin Fangge Jin
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: