projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use OpenBIOS instead of Proll on sparc (Blue Swirl)
[qemu]
/
hw
/
usb-hub.c
diff --git
a/hw/usb-hub.c
b/hw/usb-hub.c
index
e2cb283
..
c69d69c
100644
(file)
--- a/
hw/usb-hub.c
+++ b/
hw/usb-hub.c
@@
-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,