aboutsummaryrefslogtreecommitdiff
path: root/tests/pxe-test.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2017-07-13 19:42:54 +0300
committerMichael S. Tsirkin <mst@redhat.com>2017-08-02 00:13:25 +0300
commit2cef91cf4922cb1ade8882c1097966b090467bbb (patch)
treea9d3b52409aa97a15997be3185ea01e9f521bf8e /tests/pxe-test.c
parent7d48cf8102a10e4a54333811bafb5eb566509268 (diff)
tests: switch pxe and vm gen id tests to use kvm
Speed up tests on host systems with kvm support. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Thomas Huth <thuth@redhat.com> Cc: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/pxe-test.c')
-rw-r--r--tests/pxe-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pxe-test.c b/tests/pxe-test.c
index 34282d3704..cf6e225330 100644
--- a/tests/pxe-test.c
+++ b/tests/pxe-test.c
@@ -25,7 +25,7 @@ static void test_pxe_one(const char *params, bool ipv6)
{
char *args;
- args = g_strdup_printf("-machine accel=tcg -nodefaults -boot order=n "
+ args = g_strdup_printf("-machine accel=kvm:tcg -nodefaults -boot order=n "
"-netdev user,id=" NETNAME ",tftp=./,bootfile=%s,"
"ipv4=%s,ipv6=%s %s", disk, ipv6 ? "off" : "on",
ipv6 ? "on" : "off", params);