[libvirt] [PATCH 2/6] qemu: Introduce qemuFindHostdevUSBDevice
Daniel P. Berrange
berrange at redhat.com
Wed Oct 10 15:32:08 UTC 2012
On Tue, Oct 09, 2012 at 02:13:23PM +0200, Jiri Denemark wrote:
> The code which looks up a USB device specified by hostdev is duplicated
> in two places. This patch creates a dedicated function that can be
> called in both places.
> ---
> src/qemu/qemu_hostdev.c | 73 +++++++++++++++++++++++++++----------------------
> src/qemu/qemu_hostdev.h | 1 +
> src/qemu/qemu_hotplug.c | 33 +---------------------
> 3 files changed, 42 insertions(+), 65 deletions(-)
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