diff options
author | 2010-03-04 11:48:16 +0000 | |
---|---|---|
committer | 2010-03-05 15:05:14 +0000 | |
commit | 09ed07293f8e5bffe44a44d4324e4103f03705d0 (patch) | |
tree | a913fe06f0d03fa85962d60c1c996fdde7bde003 /po/si.po | |
parent | Convert QEMU driver all hotunplug code from pci_del to device_del (diff) | |
download | libvirt-09ed07293f8e5bffe44a44d4324e4103f03705d0.tar.gz libvirt-09ed07293f8e5bffe44a44d4324e4103f03705d0.tar.bz2 libvirt-09ed07293f8e5bffe44a44d4324e4103f03705d0.zip |
Fix USB passthrough based on product/vendor
Changeset
commit 5073aa994af460e775cb3e548528e28d7660fcc8
Author: Cole Robinson <crobinso@redhat.com>
Date: Mon Jan 11 11:40:46 2010 -0500
Added support for product/vendor based passthrough, but it only
worked at the security driver layer. The main guest XML config
was not updated with the resolved bus/device ID. When the QEMU
argv refactoring removed use of product/vendor, this then broke
launching guests.
THe solution is to move the product/vendor resolution up a layer
into the QEMU driver. So the first thing QEMU does is resolve
the product/vendor to a bus/device and updates the XML config
with this info. The rest of the code, including security drivers
and QEMU argv generated can now rely on bus/device always being
set.
* src/util/hostusb.c, src/util/hostusb.h: Split vendor/product
resolution code out of usbGetDevice and into usbFindDevice.
Add accessors for bus/device ID
* src/security/virt-aa-helper.c, src/security/security_selinux.c,
src/qemu/qemu_security_dac.c: Remove vendor/product from the
usbGetDevice() calls
* src/qemu/qemu_driver.c: Use usbFindDevice to resolve vendor/product
into a bus/device ID
Diffstat (limited to 'po/si.po')
0 files changed, 0 insertions, 0 deletions