[libvirt] [PATCHv2 5/5] audit: audit qemu pci and usb device passthrough
Daniel P. Berrange
berrange at redhat.com
Thu Feb 24 10:19:59 UTC 2011
On Wed, Feb 23, 2011 at 05:03:03PM -0700, Eric Blake wrote:
> * src/qemu/qemu_audit.h (qemuDomainHostdevAudit): New prototype.
> * src/qemu/qemu_audit.c (qemuDomainHostdevAudit): New function.
> (qemuDomainStartAudit): Call as appropriate.
> * src/qemu/qemu_hotplug.c (qemuDomainAttachHostPciDevice)
> (qemuDomainAttachHostUsbDevice, qemuDomainDetachHostPciDevice)
> (qemuDomainDetachHostUsbDevice): Likewise.
> ---
>
> v2: new patch; covers the case of pci and usb host device passthrough,
> worth auditing since this can involve IOMMU mappings to have the guest
> manage the device I/O.
>
> src/qemu/qemu_audit.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++
> src/qemu/qemu_audit.h | 4 ++
> src/qemu/qemu_hotplug.c | 28 +++++++-----------
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list