diff options
author | John Snow | 2015-11-13 20:31:42 +0100 |
---|---|---|
committer | John Snow | 2015-11-13 20:31:42 +0100 |
commit | cb11e7b2f3878575f23d49454c02d8dce35c8d35 (patch) | |
tree | 6782ff3aeb63539342bd354fe3b89b9a029eab85 /tests/libqos/libqos.h | |
parent | qtest/ahci: always specify image format (diff) | |
download | qemu-cb11e7b2f3878575f23d49454c02d8dce35c8d35.tar.gz qemu-cb11e7b2f3878575f23d49454c02d8dce35c8d35.tar.xz qemu-cb11e7b2f3878575f23d49454c02d8dce35c8d35.zip |
libqos: add qemu-img presence check
To allow tests to optionally exercise additional tests
that require the qemu-img tool that may not be present
in all builds.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1447439479-16775-3-git-send-email-jsnow@redhat.com
Diffstat (limited to 'tests/libqos/libqos.h')
-rw-r--r-- | tests/libqos/libqos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libqos/libqos.h b/tests/libqos/libqos.h index 492a651f5b..ca14d2e9fe 100644 --- a/tests/libqos/libqos.h +++ b/tests/libqos/libqos.h @@ -19,6 +19,7 @@ typedef struct QOSState { QOSState *qtest_vboot(QOSOps *ops, const char *cmdline_fmt, va_list ap); QOSState *qtest_boot(QOSOps *ops, const char *cmdline_fmt, ...); void qtest_shutdown(QOSState *qs); +bool have_qemu_img(void); void mkimg(const char *file, const char *fmt, unsigned size_mb); void mkqcow2(const char *file, unsigned size_mb); void set_context(QOSState *s); |