cpus-common: remove redundant call to exclusive_idle()
[qemu/ar7.git] / tests / libqos / libqos-pc.c
blobdf340928a65421c9fe77ce7a35d614331b2970fa
1 #include "qemu/osdep.h"
2 #include "libqos/libqos-pc.h"
3 #include "libqos/malloc-pc.h"
5 static QOSOps qos_ops = {
6 .init_allocator = pc_alloc_init_flags,
7 .uninit_allocator = pc_alloc_uninit
8 };
10 QOSState *qtest_pc_vboot(const char *cmdline_fmt, va_list ap)
12 return qtest_vboot(&qos_ops, cmdline_fmt, ap);
15 QOSState *qtest_pc_boot(const char *cmdline_fmt, ...)
17 QOSState *qs;
18 va_list ap;
20 va_start(ap, cmdline_fmt);
21 qs = qtest_vboot(&qos_ops, cmdline_fmt, ap);
22 va_end(ap);
24 qtest_irq_intercept_in(global_qtest, "ioapic");
26 return qs;
29 void qtest_pc_shutdown(QOSState *qs)
31 return qtest_shutdown(qs);