Re: [Qemu-devel] [PATCH] usb-host: reset and close libusb_device_handle before qemu exit

2018-12-10 Thread Gerd Hoffmann
On Fri, Nov 30, 2018 at 02:47:00PM +0800, linzhecheng wrote: > we should perform these things as same as usb_host_close. > > Signed-off-by: linzhecheng > > diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c > index b6602ded4e..2016375e6b 100644 > --- a/hw/usb/host-libusb.c > +++ b/hw/usb/h

[Qemu-devel] [PATCH] usb-host: reset and close libusb_device_handle before qemu exit

2018-11-29 Thread linzhecheng
we should perform these things as same as usb_host_close. Signed-off-by: linzhecheng diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c index b6602ded4e..2016375e6b 100644 --- a/hw/usb/host-libusb.c +++ b/hw/usb/host-libusb.c @@ -988,7 +988,9 @@ static void usb_host_exit_notifier(struct No