summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-01-14 15:29:44 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-01-22 11:09:54 +0100
commit347073336d393a819928de0d4fd56563134c0e1a (patch)
tree7329052639f59ba20b9a0798dbe594d5eea7266c /docs
parent7fa96d73893728752ec7b832a62a48c434748497 (diff)
downloadhqemu-347073336d393a819928de0d4fd56563134c0e1a.zip
hqemu-347073336d393a819928de0d4fd56563134c0e1a.tar.gz
usb: add usb-bot device (scsi bulk-only transport).
Basically the same as usb-storage, but without automatic scsi device setup. Also features support for up to 16 LUNs. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/usb-storage.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/usb-storage.txt b/docs/usb-storage.txt
index e58e849..fa93111 100644
--- a/docs/usb-storage.txt
+++ b/docs/usb-storage.txt
@@ -2,7 +2,7 @@
qemu usb storage emulation
--------------------------
-QEMU has two emulations for usb storage devices.
+QEMU has three devices for usb storage emulation.
Number one emulates the classic bulk-only transport protocol which is
used by 99% of the usb sticks on the marked today and is called
@@ -31,6 +31,15 @@ with tree logical units:
-device scsi-cd,bus=uas.0,scsi-id=0,lun=5,drive=uas-cdrom
+Number three emulates the classic bulk-only transport protocol too.
+It's called "usb-bot". It shares most code with "usb-storage", and
+the guest will not be able to see the difference. The qemu command
+line interface is simliar to usb-uas though, i.e. no automatic scsi
+disk creation. It also features support for up to 16 LUNs. The LUN
+numbers must be continous, i.e. for three devices you must use 0+1+2.
+The 0+1+5 numbering from the "usb-uas" example isn't going to work
+with "usb-bot".
+
enjoy,
Gerd
OpenPOWER on IntegriCloud