[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/4] tests: add usb host adapter qtest cases
From: |
arei.gonglei |
Subject: |
[Qemu-devel] [PATCH v2 0/4] tests: add usb host adapter qtest cases |
Date: |
Fri, 20 Jun 2014 14:29:05 +0800 |
From: Gonglei <address@hidden>
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 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 | 36 ++++++++++++++++++
tests/usb-hcd-xhci-test.c | 36 ++++++++++++++++++
6 files changed, 207 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
- [Qemu-devel] [PATCH v2 0/4] tests: add usb host adapter qtest cases,
arei.gonglei <=
- [Qemu-devel] [PATCH v2 2/4] tests: add UHCI qtest, arei.gonglei, 2014/06/20
- [Qemu-devel] [PATCH v2 1/4] tests: add OHCI qtest, arei.gonglei, 2014/06/20
- [Qemu-devel] [PATCH v2 4/4] tests: add usb hcds hotplugging qtest, arei.gonglei, 2014/06/20
- [Qemu-devel] [PATCH v2 3/4] tests: add xHCI qtest, arei.gonglei, 2014/06/20
- Re: [Qemu-devel] [PATCH v2 0/4] tests: add usb host adapter qtest cases, Gerd Hoffmann, 2014/06/20