[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/9] usb: usb host adapter hotplug
From: |
Gonglei (Arei) |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/9] usb: usb host adapter hotplug |
Date: |
Wed, 4 Jun 2014 06:40:32 +0000 |
> -----Original Message-----
> From: Gerd Hoffmann [mailto:address@hidden
> Sent: Wednesday, June 04, 2014 2:12 PM
> To: Gonglei (Arei)
> Cc: address@hidden; Luonengjun; Huangweidong (C); Huangpeng
> (Peter)
> Subject: Re: [PATCH v2 0/9] usb: usb host adapter hotplug
>
> Hi,
>
> > changes since v1:
> > * add more completely resource cleanup for every usb host adapter.
>
> Looks good overall. How did you test this?
>
Thanks!
The steps of tested:
1. start a vm using below qemu command line:
./qemu-system-x86_64 -enable-kvm -m 4096 -smp 4 -name win7 -boot c -drive
file=/mnt/sdb/gonglei/image/win7_32_2U -vnc 0.0.0.0:10 -monitor stdio
2. hot-plug/unplug an usb host adapters:
2.1) For ehci:
(qemu) device_add usb-ehci,id=ehci
(qemu) device_add usb-tablet,id=input0,bus=ehci.0,port=1
(qemu) device_del ehci
2.2) For uhci:
(qemu) device_add piix3-usb-uhci,id=uhci
(qemu) device_del uhci
2.3) For uhci:
(qemu) device_add pci-ohci,id=ohci
(qemu) device_del ohci
2.4) For uhci:
(qemu) device_add nec-usb-xhci,id=xhci
(qemu) device_del xhci
3. do step #2 repeating, more than 20 times.
BTW, I will add some qtestes for usb host adapters hot-plug/unplug later,
and add tracing for exit function.
Best regards,
-Gonglei
- [Qemu-devel] [PATCH v2 5/9] usb-ehci: add vmstate properity for EHCIState, (continued)
- [Qemu-devel] [PATCH v2 5/9] usb-ehci: add vmstate properity for EHCIState, arei.gonglei, 2014/06/03
- [Qemu-devel] [PATCH v2 6/9] usb-ehci: expose ehci_queues_rip_all, arei.gonglei, 2014/06/03
- [Qemu-devel] [PATCH v2 1/9] usb: add usb_bus_release function, arei.gonglei, 2014/06/03
- [Qemu-devel] [PATCH v2 7/9] usb-ehci: add ehci-pci device exit function, arei.gonglei, 2014/06/03
- [Qemu-devel] [PATCH v2 3/9] usb-ohci: add exit function, arei.gonglei, 2014/06/03
- [Qemu-devel] [PATCH v2 9/9] usb: tag usb host controller as hotpluggable, arei.gonglei, 2014/06/03
- [Qemu-devel] [PATCH v2 8/9] usb-xhci: add exit function, arei.gonglei, 2014/06/03
- Re: [Qemu-devel] [PATCH v2 0/9] usb: usb host adapter hotplug, Gerd Hoffmann, 2014/06/04
- Re: [Qemu-devel] [PATCH v2 0/9] usb: usb host adapter hotplug,
Gonglei (Arei) <=