aboutsummaryrefslogtreecommitdiff
path: root/hw
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 /hw
parent217e21be6e0f2c1caa0b644f56aa60dba7ea7893 (diff)
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 'hw')
-rw-r--r--hw/xen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xen.h b/hw/xen.h
index e3cca7fb92..6235f91fe0 100644
--- a/hw/xen.h
+++ b/hw/xen.h
@@ -21,9 +21,9 @@ enum xen_mode {
extern uint32_t xen_domid;
extern enum xen_mode xen_mode;
-extern int xen_allowed;
+extern bool xen_allowed;
-static inline int xen_enabled(void)
+static inline bool xen_enabled(void)
{
#if defined(CONFIG_XEN_BACKEND) && !defined(CONFIG_NO_XEN)
return xen_allowed;