]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Split out QEMU code for building PCI/USB hostdev arg values
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 26 Jan 2010 13:44:12 +0000 (13:44 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Feb 2010 15:41:29 +0000 (15:41 +0000)
commit96c8608dc5d2c3dedd2326754f7d21470d7efc8c
tree3d73473730bdf27ff780347500dd6673b64c0e81
parentc129d4fe45af66f4427e7284d74b19f604c9f38f
Split out QEMU code for building PCI/USB hostdev arg values

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
src/qemu/qemu_conf.h