diff options
| author | liguang | 2013-01-24 06:03:27 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2013-02-01 22:08:02 +0100 |
| commit | d5286af5ef27bfe25aa0472eb4d695964ae16b23 (patch) | |
| tree | 60229b388420176533d4f46c78df2e9625ec696c /include | |
| parent | vl: correct error message when fail to init kvm (diff) | |
| download | qemu-d5286af5ef27bfe25aa0472eb4d695964ae16b23.tar.gz qemu-d5286af5ef27bfe25aa0472eb4d695964ae16b23.tar.xz qemu-d5286af5ef27bfe25aa0472eb4d695964ae16b23.zip | |
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.h | 2 | ||||
| -rw-r--r-- | include/sysemu/qtest.h | 2 |
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; |
