diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-06-08 16:03:37 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-07-12 15:00:39 +0200 |
commit | 0f58f68b58eb0528545553d2c44f6b8e472cedb0 (patch) | |
tree | 1b60b5b25a95e839bc911da477e08d1aabfebb46 /thunk.h | |
parent | 8e86b93c2b69a7369aa62a6daec203fe5e757497 (diff) |
usb: add usb attached scsi emulation
$subject says all. First cut.
It's a pure UAS (usb attached scsi) emulation, without BOT (bulk-only
transport) compatibility. If your guest can't handle it use usb-storage
instead.
The emulation works like any other scsi hba emulation (eps, lsi, virtio,
megasas, ...). It provides just the HBA where you can attach scsi
devices as you like using '-device'. A single scsi target with up to
256 luns is supported.
For now only usb 2.0 transport is supported. This will change in the
future though as I plan to use this as playground when codeing up &
testing usb 3.0 transport and streams support in the qemu usb core and
the xhci emulation.
No migration support yet. I'm planning to add usb 3.0 support first as
this probably requires saving additional state.
Special thanks go to Paolo for bringing the qemu scsi emulation into
shape, so this can be added nicely without having to touch a single line
of scsi code.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'thunk.h')
0 files changed, 0 insertions, 0 deletions