From 49ee35907723a28e91da27537f48c9d8696c427e Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Wed, 28 Mar 2012 15:42:05 +0200 Subject: 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 Signed-off-by: Paolo Bonzini Signed-off-by: Anthony Liguori --- osdep.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'osdep.h') 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 -- cgit v1.2.3