From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org
Cc: Ben Warren <ben@skyportsystems.com>
Subject: [Qemu-devel] [PATCH] tests: switch pxe and vm gen id tests to use kvm
Date: Thu, 13 Jul 2017 19:43:57 +0300 [thread overview]
Message-ID: <1499964233-24206-1-git-send-email-mst@redhat.com> (raw)
Speed up tests on host systems with kvm by using it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
tests/pxe-test.c | 2 +-
tests/vmgenid-test.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/pxe-test.c b/tests/pxe-test.c
index 34282d3..cf6e225 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);
diff --git a/tests/vmgenid-test.c b/tests/vmgenid-test.c
index 0556ba2..6477dcc 100644
--- a/tests/vmgenid-test.c
+++ b/tests/vmgenid-test.c
@@ -132,7 +132,7 @@ static char disk[] = "tests/vmgenid-test-disk-XXXXXX";
static char *guid_cmd_strdup(const char *guid)
{
- return g_strdup_printf("-machine accel=tcg "
+ return g_strdup_printf("-machine accel=kvm:tcg "
"-device vmgenid,id=testvgid,guid=%s "
"-drive id=hd0,if=none,file=%s,format=raw "
"-device ide-hd,drive=hd0 ",
--
MST
next reply other threads:[~2017-07-13 16:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 16:43 Michael S. Tsirkin [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-07-13 16:47 [Qemu-devel] [PATCH] tests: switch pxe and vm gen id tests to use kvm Michael S. Tsirkin
2017-07-13 17:00 ` Paolo Bonzini
2017-07-14 5:59 ` Thomas Huth
2017-07-14 6:20 ` Paolo Bonzini
2017-07-14 14:37 ` Michael S. Tsirkin
2017-07-17 7:28 ` Laurent Vivier
2017-07-17 13:21 ` Michael S. Tsirkin
2017-07-14 14:45 ` Michael S. Tsirkin
2017-07-17 7:33 ` Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1499964233-24206-1-git-send-email-mst@redhat.com \
--to=mst@redhat.com \
--cc=ben@skyportsystems.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.