mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Rearrange SCSI disk emulation code.
Add USB mass storage device emulation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1940 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e6f3e5e016
commit
2e5d83bbef
13 changed files with 1080 additions and 470 deletions
|
@ -199,9 +199,11 @@ static void usb_hub_attach(USBPort *port1, USBDevice *dev)
|
|||
}
|
||||
}
|
||||
|
||||
static void usb_hub_handle_reset(USBDevice *dev)
|
||||
static void usb_hub_handle_reset(USBDevice *dev, int destroy)
|
||||
{
|
||||
/* XXX: do it */
|
||||
if (destroy)
|
||||
qemu_free(dev);
|
||||
}
|
||||
|
||||
static int usb_hub_handle_control(USBDevice *dev, int request, int value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue