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>
This commit is contained in:
liguang 2013-01-24 13:03:27 +08:00 committed by Anthony Liguori
parent 217e21be6e
commit d5286af5ef
5 changed files with 11 additions and 11 deletions

View file

@ -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;