From d5286af5ef27bfe25aa0472eb4d695964ae16b23 Mon Sep 17 00:00:00 2001 From: liguang Date: Thu, 24 Jan 2013 13:03:27 +0800 Subject: accel: change {xen, kvm, tcg, qtest}_allowed from int to bool Signed-off-by: liguang Signed-off-by: Anthony Liguori --- include/sysemu/kvm.h | 2 +- include/sysemu/qtest.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/sysemu') diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 6e6dfb3..f2d97b5 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 723a4f9..9a0c6b3 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; -- cgit v1.1