]> git.proxmox.com Git - qemu.git/commit
usb-host: claim port
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Aug 2011 11:34:17 +0000 (13:34 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Sep 2011 07:58:12 +0000 (09:58 +0200)
commit9516bb4772815f3bbf94d4779905681a7d254850
tree2bb5ab75137086aa7be0f13fc642286f0122f88d
parenteb7700bb999544151d6e4350362b9b6d9d20abe8
usb-host: claim port

When configured to pass through a specific host port (using hostbus and
hostport properties), try to claim the port if supported by the kernel.
That will avoid any kernel drivers binding to devices plugged into that
port.  It will not stop any userspace apps (such as usb_modeswitch)
access the device via usbfs though.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
trace-events
usb-linux.c