[PATCH] Add optional serial id for USB devices in hostdev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: David Waring <david.waring@xxxxxxxxxxxx>

This patch adds the ability to include a serial element in a hostdev/source
to select a device with a particular serial number. Patch for bugzilla
#914883. This allows specific USB devices to attached to guests when there may
be more than one of the same USB device attached to a host.

The serial number is optional so that without it existing behaviour is
maintained.

David Waring (1):
  Add ability to attach USB devices to guests using vendor, product and
    serial id.

 docs/formatdomain.html.in   | 21 +++++++++++---------
 src/conf/domain_conf.c      | 18 +++++++++++++++--
 src/conf/domain_conf.h      |  1 +
 src/conf/node_device_conf.c |  5 +++++
 src/conf/node_device_conf.h |  1 +
 src/lxc/lxc_hostdev.c       |  5 +++--
 src/qemu/qemu_hostdev.c     |  5 +++--
 src/util/virusb.c           | 47 +++++++++++++++++++++++++++++++++++++++++----
 src/util/virusb.h           |  2 ++
 9 files changed, 86 insertions(+), 19 deletions(-)

-- 
1.8.1.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]