summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorGerd Hoffmann2011-08-24 13:34:17 +0200
committerGerd Hoffmann2011-09-07 09:58:12 +0200
commit9516bb4772815f3bbf94d4779905681a7d254850 (patch)
tree2bb5ab75137086aa7be0f13fc642286f0122f88d /trace-events
parentusb-host: fix configuration tracking. (diff)
downloadqemu-9516bb4772815f3bbf94d4779905681a7d254850.tar.gz
qemu-9516bb4772815f3bbf94d4779905681a7d254850.tar.xz
qemu-9516bb4772815f3bbf94d4779905681a7d254850.zip
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>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events1
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index e473aef829..a6e0cb4c48 100644
--- a/trace-events
+++ b/trace-events
@@ -263,6 +263,7 @@ usb_host_ep_stop_iso(int bus, int addr, int ep) "dev %d:%d, ep %d"
usb_host_reset(int bus, int addr) "dev %d:%d"
usb_host_auto_scan_enabled(void)
usb_host_auto_scan_disabled(void)
+usb_host_claim_port(int bus, int hub, int port) "bus %d, hub addr %d, port %d"
# hw/scsi-bus.c
scsi_req_alloc(int target, int lun, int tag) "target %d lun %d tag %d"