Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2016 13:26:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213741] [PATCH] devel/libvirt: fix issue with libvirt capatibilies and Xen hypervisor
Message-ID:  <bug-213741-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213741

            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@FreeBSD.org
          Reporter: alexander.nusov@nfvexpress.com
          Keywords: patch
             Flags: maintainer-feedback?(novel@FreeBSD.org)
          Assignee: novel@FreeBSD.org

Created attachment 176099
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D176099&action=
=3Dedit
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@nova:/usr/ports # virsh capabilities
<capabilities>
...
  <guest>
    <os_type>xen</os_type>
    <arch name=3D'x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/local/lib/xen/bin/qemu-system-i386</emulator>
      <machine>xenpv</machine>
      <domain type=3D'xen'/>
    </arch>
  </guest>

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

  <guest>
    <os_type>hvm</os_type>
    <arch name=3D'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=3D'xen'/>
    </arch>
    <features>
      <pae/>
      <nonpae/>
      <acpi default=3D'on' toggle=3D'yes'/>
      <apic default=3D'on' toggle=3D'no'/>
      <hap default=3D'on' toggle=3D'yes'/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name=3D'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=3D'xen'/>
    </arch>
    <features>
      <acpi default=3D'on' toggle=3D'yes'/>
      <apic default=3D'on' toggle=3D'no'/>
      <hap default=3D'on' toggle=3D'yes'/>
    </features>
  </guest>

</capabilities>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213741-13>