diff options
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5866,6 +5866,9 @@ static int usb_device_del(const char *devname) int bus_num, addr; const char *p; + if (strstart(devname, "host:", &p)) + return usb_host_device_close(p); + if (!used_usb_ports) return -1; |