diff options
author | John Snow | 2015-01-19 21:15:55 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2015-02-16 15:40:55 +0100 |
commit | 90e5add6f2fa0b0bd9a4c1d5a4de2304b5f3e466 (patch) | |
tree | d88630f9c1149ea6e5d774d45c12fcd6cb0165e9 /tests/libqos/libqos-pc.h | |
parent | libqos: Update QGuestAllocator to be opaque (diff) | |
download | qemu-90e5add6f2fa0b0bd9a4c1d5a4de2304b5f3e466.tar.gz qemu-90e5add6f2fa0b0bd9a4c1d5a4de2304b5f3e466.tar.xz qemu-90e5add6f2fa0b0bd9a4c1d5a4de2304b5f3e466.zip |
libqos: add pc specific interface
Create an operations structure so that the libqos interface can be
architecture agnostic, and create a pc-specific interface to functions
like qtest_boot.
Move the libqos object in the Makefile from being ahci-test only to
being linked with all tests that utilize the libqos features.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1421698563-6977-8-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/libqos/libqos-pc.h')
-rw-r--r-- | tests/libqos/libqos-pc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/libqos/libqos-pc.h b/tests/libqos/libqos-pc.h new file mode 100644 index 0000000000..316857d32f --- /dev/null +++ b/tests/libqos/libqos-pc.h @@ -0,0 +1,9 @@ +#ifndef __libqos_pc_h +#define __libqos_pc_h + +#include "libqos/libqos.h" + +QOSState *qtest_pc_boot(const char *cmdline_fmt, ...); +void qtest_pc_shutdown(QOSState *qs); + +#endif |