[libvirt] [PATCH 02/13] Split out QEMU code for building PCI/USB hostdev arg values

Daniel Veillard veillard at redhat.com
Tue Feb 2 14:06:06 UTC 2010


On Mon, Feb 01, 2010 at 06:39:31PM +0000, Daniel P. Berrange wrote:
> To allow for better code reuse from hotplug methods, the code for
> generating PCI/USB hostdev arg values is split out into separate
> methods
> 
> * qemu/qemu_conf.h, qemu/qemu_conf.c: Introduce new APis for
>   qemuBuildPCIHostdevPCIDevStr, qemuBuildUSBHostdevUsbDevStr
>   and qemuBuildUSBHostdevDevStr
> ---
>  src/qemu/qemu_conf.c |  105 +++++++++++++++++++++++++++++++++----------------
>  src/qemu/qemu_conf.h |   10 +++++
>  2 files changed, 81 insertions(+), 34 deletions(-)

 ACK,

 Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list