summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorliguang <lig.fnst@cn.fujitsu.com>2013-01-24 13:03:27 +0800
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-01 15:08:02 -0600
commitd5286af5ef27bfe25aa0472eb4d695964ae16b23 (patch)
tree60229b388420176533d4f46c78df2e9625ec696c /include
parent217e21be6e0f2c1caa0b644f56aa60dba7ea7893 (diff)
downloadqemu-d5286af5ef27bfe25aa0472eb4d695964ae16b23.tar.gz
accel: change {xen, kvm, tcg, qtest}_allowed from int to bool
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/sysemu/kvm.h2
-rw-r--r--include/sysemu/qtest.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h
index 6e6dfb374a..f2d97b580d 100644
--- a/include/sysemu/kvm.h
+++ b/include/sysemu/kvm.h
@@ -39,7 +39,7 @@
#define KVM_FEATURE_CLOCKSOURCE_STABLE_BIT 0
#endif
-extern int kvm_allowed;
+extern bool kvm_allowed;
extern bool kvm_kernel_irqchip;
extern bool kvm_async_interrupts_allowed;
extern bool kvm_irqfds_allowed;
diff --git a/include/sysemu/qtest.h b/include/sysemu/qtest.h
index 723a4f9536..9a0c6b31c8 100644
--- a/include/sysemu/qtest.h
+++ b/include/sysemu/qtest.h
@@ -17,7 +17,7 @@
#include "qemu-common.h"
#if !defined(CONFIG_USER_ONLY)
-extern int qtest_allowed;
+extern bool qtest_allowed;
extern const char *qtest_chrdev;
extern const char *qtest_log;