aboutsummaryrefslogtreecommitdiff
path: root/tests/machine-none-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/machine-none-test.c')
-rw-r--r--tests/machine-none-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/machine-none-test.c b/tests/machine-none-test.c
index f286557b3e..7e72466354 100644
--- a/tests/machine-none-test.c
+++ b/tests/machine-none-test.c
@@ -84,7 +84,7 @@ static void test_machine_cpu_cli(void)
}
return; /* TODO: die here to force all targets have a test */
}
- global_qtest = qtest_startf("-machine none -cpu '%s'", cpu_model);
+ global_qtest = qtest_initf("-machine none -cpu '%s'", cpu_model);
response = qmp("{ 'execute': 'quit' }");
g_assert(qdict_haskey(response, "return"));