qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/4] tests: add usb host adapter qtest cases
@ 2014-06-23 11:53 arei.gonglei
  2014-06-23 11:53 ` [Qemu-devel] [PATCH v4 1/4] tests: add OHCI qtest arei.gonglei
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: arei.gonglei @ 2014-06-23 11:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: weidong.huang, luonengjun, peter.huangpeng, Gonglei, kraxel,
	stefanha, akong, afaerber

From: Gonglei <arei.gonglei@huawei.com>

This patch series base on my request usb host adapter hotplug/unplug
series:

[PATCH v3 00/10] usb: usb host adapter hotplug
http://lists.gnu.org/archive/html/qemu-devel/2014-06/msg00746.html

Changes since v3:
 - rebase on latest qemu master

Changes since v2:
  - add 'const' qualifier argument in usb_hcd_hotplug
    function for building errors reported by Gerd

Changes since v1:
 * By Andreas suggestion:
  - rework hci-{ohci,uhci,xhci} files for functional tests
  - add "cold-plug" test, "-device" in init funciton
  - use QMP for device_add/del because of parsing security
  - some other fixs

 * By Gerd suggestion:
  - add an usb-hcd-hotplug-test.c file and collect hotplug
    testing for all usb hcds

Thanks for your suggestion, please review again.

My "make check V=1" results:

 [...]
TEST: tests/usb-hcd-ohci-test... (pid=20031)
  /x86_64/ohci/pci/init:                                               OK
PASS: tests/usb-hcd-ohci-test
TEST: tests/usb-hcd-uhci-test... (pid=20034)
  /x86_64/uhci/pci/init:                                               OK
PASS: tests/usb-hcd-uhci-test
TEST: tests/usb-hcd-ehci-test... (pid=20037)
  /x86_64/ehci/pci/init:                                               OK
  /x86_64/ehci/pci/uhci-port-1:                                        OK
  /x86_64/ehci/pci/ehci-port-1:                                        OK
  /x86_64/ehci/pci/ehci-config:                                        OK
  /x86_64/ehci/pci/uhci-port-2:                                        OK
  /x86_64/ehci/pci/ehci-port-2:                                        OK
PASS: tests/usb-hcd-ehci-test
TEST: tests/usb-hcd-xhci-test... (pid=20040)
  /x86_64/xhci/pci/init:                                               OK
PASS: tests/usb-hcd-xhci-test
TEST: tests/usb-hcd-hotplug-test... (pid=20043)
  /x86_64/usb/hcd/pci/ohci-hotplug:                                    OK
  /x86_64/usb/hcd/pci/uhci-hotplug:                                    OK
  /x86_64/usb/hcd/pci/ehci-hotplug:                                    OK
  /x86_64/usb/hcd/pci/xhci-hotplug:                                    OK
PASS: tests/usb-hcd-hotplug-test
TEST: tests/qom-test... (pid=20068)
  /x86_64/qom/pc-i440fx-1.4:                                           OK
  /x86_64/qom/pc-1.3:                                                  OK
  /x86_64/qom/pc-0.11:                                                 OK
 [...]

Best regards,
-Gonglei

Gonglei (4):
  tests: add OHCI qtest
  tests: add UHCI qtest
  tests: add xHCI qtest
  tests: add usb hcds hotplugging qtest

 MAINTAINERS                  |  2 +-
 tests/Makefile               | 12 +++++-
 tests/usb-hcd-hotplug-test.c | 88 ++++++++++++++++++++++++++++++++++++++++++++
 tests/usb-hcd-ohci-test.c    | 35 ++++++++++++++++++
 tests/usb-hcd-uhci-test.c    | 35 ++++++++++++++++++
 tests/usb-hcd-xhci-test.c    | 35 ++++++++++++++++++
 6 files changed, 205 insertions(+), 2 deletions(-)
 create mode 100644 tests/usb-hcd-hotplug-test.c
 create mode 100644 tests/usb-hcd-ohci-test.c
 create mode 100644 tests/usb-hcd-uhci-test.c
 create mode 100644 tests/usb-hcd-xhci-test.c

-- 
1.7.12.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-06-25 15:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-23 11:53 [Qemu-devel] [PATCH v4 0/4] tests: add usb host adapter qtest cases arei.gonglei
2014-06-23 11:53 ` [Qemu-devel] [PATCH v4 1/4] tests: add OHCI qtest arei.gonglei
2014-06-23 11:53 ` [Qemu-devel] [PATCH v4 2/4] tests: add UHCI qtest arei.gonglei
2014-06-23 11:53 ` [Qemu-devel] [PATCH v4 3/4] tests: add xHCI qtest arei.gonglei
2014-06-23 11:53 ` [Qemu-devel] [PATCH v4 4/4] tests: add usb hcds hotplugging qtest arei.gonglei
2014-06-25 14:42   ` Amos Kong
2014-06-25 15:13     ` Gonglei (Arei)
2014-06-25 15:29 ` [Qemu-devel] [PATCH v4 0/4] tests: add usb host adapter qtest cases Amos Kong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).