diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2024-05-30 17:44:50 +1000 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2024-06-14 14:00:50 -0300 |
commit | ea6ce9109eab5b9bca47d7145f1291ee4ddfe5de (patch) | |
tree | eb0d09e10ba29749ccd6d77e1c6d13e83d2e7aca /tests | |
parent | 3e40bdb15e2ba6e55ee92d148b0cefb7050fad20 (diff) | |
download | qemu-ea6ce9109eab5b9bca47d7145f1291ee4ddfe5de.zip qemu-ea6ce9109eab5b9bca47d7145f1291ee4ddfe5de.tar.gz qemu-ea6ce9109eab5b9bca47d7145f1291ee4ddfe5de.tar.bz2 |
tests/qtest/migration-test: Quieten ppc64 QEMU warnings
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qtest/migration-test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c index b7e3406..48f5982 100644 --- a/tests/qtest/migration-test.c +++ b/tests/qtest/migration-test.c @@ -21,6 +21,7 @@ #include "chardev/char.h" #include "crypto/tlscredspsk.h" #include "qapi/qmp/qlist.h" +#include "ppc-util.h" #include "migration-helpers.h" #include "tests/migration/migration-test.h" @@ -742,7 +743,8 @@ static int test_migrate_start(QTestState **from, QTestState **to, "until'", end_address, start_address); machine_alias = "pseries"; machine_opts = "vsmt=8"; - arch_opts = g_strdup("-nodefaults"); + arch_opts = g_strdup("-nodefaults " + "-machine " PSERIES_DEFAULT_CAPABILITIES); } else if (strcmp(arch, "aarch64") == 0) { memory_size = "150M"; machine_alias = "virt"; |