[Bug 213741] [PATCH] devel/libvirt: fix issue with libvirt capatibilies and Xen hypervisor

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 24 13:26:08 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213741

            Bug ID: 213741
           Summary: [PATCH] devel/libvirt: fix issue with libvirt
                    capatibilies and Xen hypervisor
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: novel at FreeBSD.org
          Reporter: alexander.nusov at nfvexpress.com
          Keywords: patch
             Flags: maintainer-feedback?(novel at FreeBSD.org)
          Assignee: novel at FreeBSD.org

Created attachment 176099
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176099&action=edit
fix libvirt

This patch fixes incorrect behaviour when requesting host capabilities using
libvirt

Current version doesn't respect hier(7) and this may cause issues while
spawning Xen HVM DomU

root at nova:/usr/ports # virsh capabilities
<capabilities>
...
  <guest>
    <os_type>xen</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/local/lib/xen/bin/qemu-system-i386</emulator>
      <machine>xenpv</machine>
      <domain type='xen'/>
    </arch>
  </guest>

  <guest>
    <os_type>xen</os_type>
    <arch name='i686'>
      <wordsize>32</wordsize>
      <emulator>/usr/local/lib/xen/bin/qemu-system-i386</emulator>
      <machine>xenpv</machine>
      <domain type='xen'/>
    </arch>
    <features>
      <pae/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='i686'>
      <wordsize>32</wordsize>
      <emulator>/usr/local/lib/xen/bin/qemu-system-i386</emulator>
      <loader>/usr/local/lib/xen/boot/hvmloader</loader>
      <machine>xenfv</machine>
      <domain type='xen'/>
    </arch>
    <features>
      <pae/>
      <nonpae/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
      <hap default='on' toggle='yes'/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/local/lib/xen/bin/qemu-system-i386</emulator>
      <loader>/usr/local/lib/xen/boot/hvmloader</loader>
      <machine>xenfv</machine>
      <domain type='xen'/>
    </arch>
    <features>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
      <hap default='on' toggle='yes'/>
    </features>
  </guest>

</capabilities>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list