Skip to contentSkip to conversation

doc: Better documentation about the usbdevice=['host:bus.addr'] format

PATCH In review Anthony PERARD 3 participants 4 messages Jan 28, 2014 – Feb 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: Better documentation about the usbdevice=['host:bus.addr'] format

---
 docs/man/xl.cfg.pod.5 | 4 ++++
 1 file changed, 4 insertions(+)
docs/man/xl.cfg.pod.5 +4 -0
index 9941395..9c0b438 100644
@@ -1251,6 +1251,10 @@ Host devices can also be passed through in this way, by specifying
 host:USBID, where USBID is of the form xxxx:yyyy.  The USBID can
 typically be found by using lsusb or usb-devices.
 
+If you wish to use the "host:bus.addr" format, remove any leading '0' from the
+bus and addr. For example, for the USB device on bus 008 dev 002, you will
+write "host:8.2".
+
 The form usbdevice=DEVICE is also accepted for backwards compatibility.
 
 More valid options can be found in the "usbdevice" section of the qemu
Signature · 1 line
Anthony PERARD
#1 lore raw
Quoted 10 lines · Anthony PERARD
---
 docs/man/xl.cfg.pod.5 | 4 ++++
 1 file changed, 4 insertions(+)
docs/man/xl.cfg.pod.5 +0 -0
index 9941395..9c0b438 100644

docs/man/xl.cfg.pod.5 Host devices can also be passed through in this way, by specifying · line 1256

Quoted 6 lines
docs/man/xl.cfg.pod.5 +3 -0
@@ -1251,6 +1251,10 @@ Host devices can also be passed through in this way, by specifying
 host:USBID, where USBID is of the form xxxx:yyyy.  The USBID can
 typically be found by using lsusb or usb-devices.
 
+If you wish to use the "host:bus.addr" format, remove any leading '0' from the
+bus and addr. For example, for the USB device on bus 008 dev 002, you will
+write "host:8.2".

I tweaked this to "you should write...", then acked + applied.

Thanks.

#2 lore raw

graft 15 <[email protected]> thanks

Quoted 14 lines · Ian Campbell
Quoted 13 lines · Anthony PERARD
---
 docs/man/xl.cfg.pod.5 | 4 ++++
 1 file changed, 4 insertions(+)
docs/man/xl.cfg.pod.5 +0 -0
index 9941395..9c0b438 100644
@@ -1251,6 +1251,10 @@ Host devices can also be passed through in this way, by specifying
 host:USBID, where USBID is of the form xxxx:yyyy.  The USBID can
 typically be found by using lsusb or usb-devices.
 
Quoted 5 lines

docs/man/xl.cfg.pod.5 Host devices can also be passed through in this way, by specifying · line 1256

Quoted 3 lines
docs/man/xl.cfg.pod.5 +3 -0
+If you wish to use the "host:bus.addr" format, remove any leading '0' from the
+bus and addr. For example, for the USB device on bus 008 dev 002, you will
+write "host:8.2".

I tweaked this to "you should write...", then acked + applied.

There is an associated bug but I think it should remain open until the underlying issue is fixed, rather than just documented as suggested here.

If you think this issue should be closed please send email to xen-devel
+ bcc [email protected] which begins:
close 15
thanks
(unindented)

Ian.

#3 lore raw

Processed: Re: [PATCH] doc: Better documentation about the usbdevice=['host:bus.addr'] format

Processing commands for [email protected]:

Quoted 1 line

graft 15 <[email protected]>

Graft `<[email protected]>' onto #15

Quoted 1 line

thanks

Finished processing.

Modified/created Bugs:
- 15: http://bugs.xenproject.org/xen/bug/15

---
Xen Hypervisor Bug Tracker
See http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen for information on reporting bugs Contact [email protected] with any infrastructure issues