Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/include/xen/xen-os.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
/* tunable for disabling PV disks */ | /* tunable for disabling PV disks */ | ||||
extern int xen_disable_pv_disks; | extern int xen_disable_pv_disks; | ||||
/* tunable for disabling PV nics */ | /* tunable for disabling PV nics */ | ||||
extern int xen_disable_pv_nics; | extern int xen_disable_pv_nics; | ||||
static inline bool | static inline bool | ||||
xen_has_percpu_evtchn(void) | |||||
{ | |||||
return (!xen_hvm_domain() || xen_vector_callback_enabled); | |||||
} | |||||
static inline bool | |||||
xen_pv_shutdown_handler(void) | xen_pv_shutdown_handler(void) | ||||
{ | { | ||||
return (xen_pv_domain()); | return (xen_pv_domain()); | ||||
} | } | ||||
static inline bool | static inline bool | ||||
xen_pv_disks_disabled(void) | xen_pv_disks_disabled(void) | ||||
Show All 15 Lines |