aboutsummaryrefslogtreecommitdiff
path: root/tests/i440fx-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/i440fx-test.c')
-rw-r--r--tests/i440fx-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i440fx-test.c b/tests/i440fx-test.c
index 4390e55..69205b5 100644
--- a/tests/i440fx-test.c
+++ b/tests/i440fx-test.c
@@ -38,7 +38,7 @@ static QPCIBus *test_start_get_bus(const TestData *s)
cmdline = g_strdup_printf("-smp %d", s->num_cpus);
qtest_start(cmdline);
g_free(cmdline);
- return qpci_init_pc(global_qtest, NULL);
+ return qpci_new_pc(global_qtest, NULL);
}
static void test_i440fx_defaults(gconstpointer opaque)