1. 14 3月, 2019 2 次提交
    • J
      conf: Add a new 'xenbus' controller type · 09eb1ae0
      Jim Fehlig 提交于
      xenbus is virtual controller (akin to virtio controllers) for Xen
      paravirtual devices. Although all Xen VMs have a xenbus, it has
      never been modeled in libvirt, or in Xen native VM config format
      for that matter.
      
      Recently there have been requests to support Xen's max_grant_frames
      setting in libvirt. max_grant_frames is best modeled as an attribute
      of xenbus. It describes the maximum IO buffer space (or DMA space)
      available in xenbus for use by connected paravirtual devices. This
      patch introduces a new xenbus controller type that includes a
      maxGrantFrames attribute.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      09eb1ae0
    • J
      apparmor: Check libvirtd profile status by name · 411cdaf8
      Jim Fehlig 提交于
      Commit a3ab6d42 changed the libvirtd profile to a named profile,
      breaking the apparmor driver's ability to detect if the profile is
      active. When the apparmor driver loads it checks the status of the
      libvirtd profile using the full binary path, which fails since the
      profile is now referenced by name. If the apparmor driver is
      explicitly requested in /etc/libvirt/qemu.conf, then libvirtd fails
      to load too.
      
      Instead of only checking the profile status by full binary path,
      also check by profile name. The full path check is retained in case
      users have a customized libvirtd profile with full path.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      Acked-by: NJamie Strandboge <jamie@canonical.com>
      411cdaf8
  2. 13 3月, 2019 20 次提交
  3. 12 3月, 2019 18 次提交