summary refs log tree commit diff stats
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-08-31 14:24:05 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-09 14:57:19 -0500
commit7fc2f2c0869f68eaa42446e5a394d79bb7c9f7f7 (patch)
tree99e3e687a26ee2bf0a7ae382b750e7febc9e445d /hw/qdev.c
parentd52affa7f6b9df3c7d44da0effbdfc8339c43914 (diff)
downloadfocaccia-qemu-7fc2f2c0869f68eaa42446e5a394d79bb7c9f7f7.tar.gz
focaccia-qemu-7fc2f2c0869f68eaa42446e5a394d79bb7c9f7f7.zip
qdev/scsi+usb: convert usb-storage to qdev.
Full coverage with properties and everything.  You can add virtual usb
sticks this way now:

  -drive if=none,id=pendrive,path=/some/where
  -device usb-storage,drive=pendrive

-usbdevice disk:/path/to/image continues to work.

Other side effects:
usb storage is listed in 'info block' now.
kvm tree should be able to boot from usb via extboot (untested though).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.c')
0 files changed, 0 insertions, 0 deletions