summaryrefslogtreecommitdiff
path: root/osdep.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-03-28 15:42:05 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-03-30 08:14:11 -0500
commit49ee35907723a28e91da27537f48c9d8696c427e (patch)
tree304a57174c4079cbcb639a1215bedabd273a853a /osdep.h
parent8156be561019bd0fc17729e9a528f6c81eea9186 (diff)
qtest: add C version of test infrastructure
This also includes a qtest wrapper script to make it easier to launch qtest tests directly. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'osdep.h')
-rw-r--r--osdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep.h b/osdep.h
index 156666e0ee..428285c7e0 100644
--- a/osdep.h
+++ b/osdep.h
@@ -140,4 +140,6 @@ static inline void qemu_timersub(const struct timeval *val1,
#define qemu_timersub timersub
#endif
+void qemu_set_cloexec(int fd);
+
#endif