]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce qemuFindHostdevUSBDevice
authorJiri Denemark <jdenemar@redhat.com>
Wed, 3 Oct 2012 11:55:35 +0000 (13:55 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 11 Oct 2012 13:11:41 +0000 (15:11 +0200)
commit7bcc7278bf145e2628831823f77192307f09bfa1
tree481b89d8a600327466716b4c2c5a7373ef73b70c
parente658daeb58ec88deec5dd60fd3279f4feb4eac5b
qemu: Introduce qemuFindHostdevUSBDevice

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
src/qemu/qemu_hostdev.h
src/qemu/qemu_hotplug.c