diff options
author | liguang <lig.fnst@cn.fujitsu.com> | 2013-01-24 13:03:27 +0800 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-01 15:08:02 -0600 |
commit | d5286af5ef27bfe25aa0472eb4d695964ae16b23 (patch) | |
tree | 60229b388420176533d4f46c78df2e9625ec696c /hw/xen.h | |
parent | 217e21be6e0f2c1caa0b644f56aa60dba7ea7893 (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/xen.h')
-rw-r--r-- | hw/xen.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |