From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNntM-0001oI-0j for qemu-devel@nongnu.org; Wed, 12 Mar 2014 14:28:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNntF-00062J-LA for qemu-devel@nongnu.org; Wed, 12 Mar 2014 14:28:35 -0400 Received: from cantor2.suse.de ([195.135.220.15]:43603 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNntF-00061U-A3 for qemu-devel@nongnu.org; Wed, 12 Mar 2014 14:28:29 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Wed, 12 Mar 2014 19:28:12 +0100 Message-Id: <1394648907-20096-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH qom-next v3 00/15] qtest: Prepare virtio, other PCI tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Maydell , Stefan Hajnoczi , "Michael S. Tsirkin" , Alexey Kardashevskiy , Anthony Liguori , Amit Shah , Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= Hello Michael, Amit and Stefan, This series starts preparing tests to cover optional PCI devices. They do= n't do any functional tests but assure that QOM/PCI/VMState refactorings don't b= reak the basic usage of devices not covered by qom-test. v3 covers all virtio devices plus pvpanic, nvme, i82801b11, spapr-pci-hos= t-bridge. * virtio-blk and nvme use /dev/null. * virtio-9p uses a temporary directory. I intend to pick those already posted plus the virtio-console tests into = my pull. Regards, Andreas v2 -> v3: * Added virtio-scsi, virtio-9p, virtio-serial-bus, virtio-console tests * Added pvpanic tests - required libqtest API changes * Added nvme test - required nvme change * Added i82801b11 test * Rebased on 9p config changes * Queued spapr-pci-host-bridge test (Alexey) v1 -> v2: * Reordered includes (stefanha) * Used qtest_end() where applicable * Added qtest for tpci200 and ipoctal232 (for my IndustryPack refactoring= series) * Added qtests for ne2000, virtio-net, virtio-blk, virtio-balloon, virtio= -rng Cc: Stefan Hajnoczi Cc: Michael S. Tsirkin Cc: Amit Shah Cc: Kevin Wolf Cc: Anthony Liguori Cc: Paolo Bonzini Cc: Peter Maydell Cc: Alexey Kardashevskiy Alexey Kardashevskiy (1): tests: Add spapr-pci-host-bridge qtest Andreas F=C3=A4rber (14): tests: Clean up IndustryPack TCPI200 gcov paths tests: Add virtio-blk qtest tests: Add virtio-balloon qtest tests: Add virtio-rng qtest tests: Add virtio-scsi qtest tests: Add virtio-9p qtest tests: Add virtio-serial qtest tests: Add virtio-console qtest tests: Add pvpanic qtest qtest: Factor out qtest_qmp_receive() pvpanic-test: Assert pause event nvme: Permit zero-length block devices tests: Add nvme qtest tests: Add i82801b11 qtest hw/block/nvme.c | 4 ++-- tests/Makefile | 43 +++++++++++++++++++++++++++++++++++++++= -- tests/i82801b11-test.c | 33 +++++++++++++++++++++++++++++++ tests/libqtest.c | 15 ++++++++++----- tests/libqtest.h | 18 +++++++++++++++++ tests/nvme-test.c | 34 ++++++++++++++++++++++++++++++++ tests/pvpanic-test.c | 47 +++++++++++++++++++++++++++++++++++++++= ++++++ tests/spapr-phb-test.c | 35 +++++++++++++++++++++++++++++++++ tests/virtio-9p-test.c | 46 +++++++++++++++++++++++++++++++++++++++= +++++ tests/virtio-balloon-test.c | 33 +++++++++++++++++++++++++++++++ tests/virtio-blk-test.c | 34 ++++++++++++++++++++++++++++++++ tests/virtio-console-test.c | 34 ++++++++++++++++++++++++++++++++ tests/virtio-rng-test.c | 33 +++++++++++++++++++++++++++++++ tests/virtio-scsi-test.c | 35 +++++++++++++++++++++++++++++++++ tests/virtio-serial-test.c | 33 +++++++++++++++++++++++++++++++ 15 files changed, 468 insertions(+), 9 deletions(-) create mode 100644 tests/i82801b11-test.c create mode 100644 tests/nvme-test.c create mode 100644 tests/pvpanic-test.c create mode 100644 tests/spapr-phb-test.c create mode 100644 tests/virtio-9p-test.c create mode 100644 tests/virtio-balloon-test.c create mode 100644 tests/virtio-blk-test.c create mode 100644 tests/virtio-console-test.c create mode 100644 tests/virtio-rng-test.c create mode 100644 tests/virtio-scsi-test.c create mode 100644 tests/virtio-serial-test.c --=20 1.8.4.5