[libvirt] [PATCH 08/34] Split code for building QEMU -drive arg in separate method

Daniel Veillard veillard at redhat.com
Fri Jan 15 13:30:05 UTC 2010


On Fri, Jan 08, 2010 at 05:23:04PM +0000, Daniel P. Berrange wrote:
> To enable it to be called from multiple locations, split out
> the code for building the -drive arg string. This will be needed
> by later patches which do drive hotplug, the conversion to use
> -device, and the conversion to controller/bus/unit addressing
> 
> * src/qemu/qemu_conf.c, src/qemu/qemu_conf.h: Add qemuBuildDriveStr
>   for building -drive arg string
> ---
>  src/qemu/qemu_conf.c |  191 ++++++++++++++++++++++++++-----------------------
>  src/qemu/qemu_conf.h |    5 ++
>  2 files changed, 106 insertions(+), 90 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