diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2022-02-15 16:25:32 +0000 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-02-21 10:13:23 +0100 |
commit | 7b172333f1be916a9bad1f40426dbe944730a9b2 (patch) | |
tree | 6a88f04050e0cbca391c0d3e94ce44334dcee5a9 /tests/qtest/hd-geo-test.c | |
parent | fedcc3793ef27ad17165536f1aa7e60700eb8067 (diff) | |
download | qemu-7b172333f1be916a9bad1f40426dbe944730a9b2.zip qemu-7b172333f1be916a9bad1f40426dbe944730a9b2.tar.gz qemu-7b172333f1be916a9bad1f40426dbe944730a9b2.tar.bz2 |
tests/x86: Use 'pc' machine type for hotplug tests
Hotplug tests need a bridge setting up on q35, for now
keep them on 'pc'.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220215162537.605030-3-dgilbert@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/hd-geo-test.c')
-rw-r--r-- | tests/qtest/hd-geo-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qtest/hd-geo-test.c b/tests/qtest/hd-geo-test.c index 3554b5d..64023c0 100644 --- a/tests/qtest/hd-geo-test.c +++ b/tests/qtest/hd-geo-test.c @@ -839,7 +839,7 @@ static void test_override_scsi_hot_unplug(void) joined_args = g_strjoinv(" ", args->argv); - qts = qtest_init(joined_args); + qts = qtest_initf("-machine pc %s", joined_args); fw_cfg = pc_fw_cfg_init(qts); read_bootdevices(fw_cfg, expected); @@ -899,7 +899,7 @@ static void test_override_virtio_hot_unplug(void) joined_args = g_strjoinv(" ", args->argv); - qts = qtest_init(joined_args); + qts = qtest_initf("-machine pc %s", joined_args); fw_cfg = pc_fw_cfg_init(qts); read_bootdevices(fw_cfg, expected); |