aboutsummaryrefslogtreecommitdiff
path: root/tests/pxe-test.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2017-12-19 15:45:22 +1100
committerMichael S. Tsirkin <mst@redhat.com>2017-12-21 02:16:48 +0200
commit18b20bb43a2f37f0c8ae23a3e9b3d9a4a05b6bd4 (patch)
tree96f3d16d8164387803c2bbc425374e49c11cdc61 /tests/pxe-test.c
parentd23895d9ba182825b488a37699bae79c70729f5f (diff)
downloadqemu-18b20bb43a2f37f0c8ae23a3e9b3d9a4a05b6bd4.zip
qemu-18b20bb43a2f37f0c8ae23a3e9b3d9a4a05b6bd4.tar.gz
qemu-18b20bb43a2f37f0c8ae23a3e9b3d9a4a05b6bd4.tar.bz2
tests/pxe-test: Add some extra tests
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 its increasing prominence. Add a couple of tests for it, including testing the newer e1000e adapter. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/pxe-test.c')
-rw-r--r--tests/pxe-test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/pxe-test.c b/tests/pxe-test.c
index 5689c7d..5ca8480 100644
--- a/tests/pxe-test.c
+++ b/tests/pxe-test.c
@@ -30,6 +30,8 @@ typedef struct testdef {
static testdef_t x86_tests[] = {
{ "pc", "e1000" },
{ "pc", "virtio-net-pci" },
+ { "q35", "e1000e" },
+ { "q35", "virtio-net-pci", },
{ NULL },
};
@@ -43,11 +45,11 @@ static testdef_t x86_tests_slow[] = {
static testdef_t ppc64_tests[] = {
{ "pseries", "spapr-vlan" },
+ { "pseries", "virtio-net-pci", },
{ NULL },
};
static testdef_t ppc64_tests_slow[] = {
- { "pseries", "virtio-net-pci", },
{ "pseries", "e1000" },
{ NULL },
};