[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/4] tests/pxe-test: Add some extra tests
From: |
David Gibson |
Subject: |
[Qemu-devel] [PATCH 4/4] tests/pxe-test: Add some extra tests |
Date: |
Fri, 15 Dec 2017 21:16:51 +1100 |
Previously virtio-net was only tested for ppc64 in "slow" mode. That
doesn't make much sense since virtio-net is used much more often in
practice than the spapr-vlan device which was tested always. So, move
virtio-net to always be tested on ppc64.
We had no tests at all for the q35 machine, which doesn't seem wise given
it's increasing prominence. Add a couple of tests for it, including
testing the newer e1000e adapter.
Signed-off-by: David Gibson <address@hidden>
---
tests/pxe-test.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/pxe-test.c b/tests/pxe-test.c
index e7a0610070..16e2520940 100644
--- a/tests/pxe-test.c
+++ b/tests/pxe-test.c
@@ -31,6 +31,8 @@ typedef struct testdef {
static testdef_t x86_tests[] = {
{ "pc", "e1000" },
{ "pc", "virtio", "-device virtio-net-pci,netdev=" NETNAME },
+ { "q35", "e1000e" },
+ { "q35", "virtio", "-device virtio-net-pci,netdev=" NETNAME },
{ NULL },
};
@@ -44,11 +46,11 @@ static testdef_t x86_tests_slow[] = {
static testdef_t ppc64_tests[] = {
{ "pseries", "spapr-vlan" },
+ { "pseries", "virtio", "-device virtio-net-pci,netdev=" NETNAME },
{ NULL },
};
static testdef_t ppc64_tests_slow[] = {
- { "pseries", "virtio", "-device virtio-net-pci,netdev=" NETNAME },
{ "pseries", "e1000" },
{ NULL },
};
--
2.14.3