diff options
Diffstat (limited to 'hw/usb-hub.c')
-rw-r--r-- | hw/usb-hub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb-hub.c b/hw/usb-hub.c index c69d69cc84..2eba905ff5 100644 --- a/hw/usb-hub.c +++ b/hw/usb-hub.c @@ -544,6 +544,8 @@ USBDevice *usb_hub_init(int nb_ports) s->dev.handle_control = usb_hub_handle_control; s->dev.handle_data = usb_hub_handle_data; + pstrcpy(s->dev.devname, sizeof(s->dev.devname), "QEMU USB Hub"); + s->nb_ports = nb_ports; for(i = 0; i < s->nb_ports; i++) { port = &s->ports[i]; |