w64: Use uintptr_t in exec.c
[qemu/rayw.git] / qtest.h
blob1478343ff00667b509ae42ca9a5c4b6b70784c92
1 /*
2 * Test Server
4 * Copyright IBM, Corp. 2011
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
14 #ifndef QTEST_H
15 #define QTEST_H
17 #include "qemu-common.h"
19 extern int qtest_allowed;
20 extern const char *qtest_chrdev;
21 extern const char *qtest_log;
23 static inline bool qtest_enabled(void)
25 return qtest_allowed;
28 static inline int qtest_available(void)
30 return 1;
33 int qtest_init(void);
35 #endif