Merge remote-tracking branch 'remotes/bkoppelmann/tags/pull-tricore-20150330' into...
[qemu.git] / tests / libqos / libqos-pc.c
blobbbace893fb1a3b89c37691f1ecaa439b5ce6463e
1 #include "libqos/libqos-pc.h"
2 #include "libqos/malloc-pc.h"
4 static QOSOps qos_ops = {
5 .init_allocator = pc_alloc_init_flags,
6 .uninit_allocator = pc_alloc_uninit
7 };
9 QOSState *qtest_pc_boot(const char *cmdline_fmt, ...)
11 QOSState *qs;
12 va_list ap;
14 va_start(ap, cmdline_fmt);
15 qs = qtest_vboot(&qos_ops, cmdline_fmt, ap);
16 va_end(ap);
18 return qs;
21 void qtest_pc_shutdown(QOSState *qs)
23 return qtest_shutdown(qs);