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(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/