Changeset View
Changeset View
Standalone View
Standalone View
sys/xen/interface/hvm/params.h
Show All 28 Lines | |||||
#if defined(__XEN__) || defined(__XEN_TOOLS__) | #if defined(__XEN__) || defined(__XEN_TOOLS__) | ||||
#define HVM_PARAM_PAE_ENABLED 4 | #define HVM_PARAM_PAE_ENABLED 4 | ||||
#define HVM_PARAM_DM_DOMAIN 13 | #define HVM_PARAM_DM_DOMAIN 13 | ||||
#define HVM_PARAM_MEMORY_EVENT_CR0 20 | #define HVM_PARAM_MEMORY_EVENT_CR0 20 | ||||
#define HVM_PARAM_MEMORY_EVENT_CR3 21 | #define HVM_PARAM_MEMORY_EVENT_CR3 21 | ||||
#define HVM_PARAM_MEMORY_EVENT_CR4 22 | #define HVM_PARAM_MEMORY_EVENT_CR4 22 | ||||
#define HVM_PARAM_MEMORY_EVENT_INT3 23 | #define HVM_PARAM_MEMORY_EVENT_INT3 23 | ||||
#define HVM_PARAM_NESTEDHVM 24 | |||||
#define HVM_PARAM_MEMORY_EVENT_SINGLE_STEP 25 | #define HVM_PARAM_MEMORY_EVENT_SINGLE_STEP 25 | ||||
#define HVM_PARAM_BUFIOREQ_EVTCHN 26 | #define HVM_PARAM_BUFIOREQ_EVTCHN 26 | ||||
#define HVM_PARAM_MEMORY_EVENT_MSR 30 | #define HVM_PARAM_MEMORY_EVENT_MSR 30 | ||||
#endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ | #endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ | ||||
/* | /* | ||||
* Parameter space for HVMOP_{set,get}_param. | * Parameter space for HVMOP_{set,get}_param. | ||||
▲ Show 20 Lines • Show All 113 Lines • ▼ Show 20 Lines | |||||
/* Enable STIMER MSRs */ | /* Enable STIMER MSRs */ | ||||
#define _HVMPV_stimer 8 | #define _HVMPV_stimer 8 | ||||
#define HVMPV_stimer (1 << _HVMPV_stimer) | #define HVMPV_stimer (1 << _HVMPV_stimer) | ||||
/* Use Synthetic Cluster IPI Hypercall */ | /* Use Synthetic Cluster IPI Hypercall */ | ||||
#define _HVMPV_hcall_ipi 9 | #define _HVMPV_hcall_ipi 9 | ||||
#define HVMPV_hcall_ipi (1 << _HVMPV_hcall_ipi) | #define HVMPV_hcall_ipi (1 << _HVMPV_hcall_ipi) | ||||
/* Enable ExProcessorMasks */ | |||||
#define _HVMPV_ex_processor_masks 10 | |||||
#define HVMPV_ex_processor_masks (1 << _HVMPV_ex_processor_masks) | |||||
/* Allow more than 64 VPs */ | |||||
#define _HVMPV_no_vp_limit 11 | |||||
#define HVMPV_no_vp_limit (1 << _HVMPV_no_vp_limit) | |||||
/* Enable vCPU hotplug */ | |||||
#define _HVMPV_cpu_hotplug 12 | |||||
#define HVMPV_cpu_hotplug (1 << _HVMPV_cpu_hotplug) | |||||
#define HVMPV_feature_mask \ | #define HVMPV_feature_mask \ | ||||
(HVMPV_base_freq | \ | (HVMPV_base_freq | \ | ||||
HVMPV_no_freq | \ | HVMPV_no_freq | \ | ||||
HVMPV_time_ref_count | \ | HVMPV_time_ref_count | \ | ||||
HVMPV_reference_tsc | \ | HVMPV_reference_tsc | \ | ||||
HVMPV_hcall_remote_tlb_flush | \ | HVMPV_hcall_remote_tlb_flush | \ | ||||
HVMPV_apic_assist | \ | HVMPV_apic_assist | \ | ||||
HVMPV_crash_ctl | \ | HVMPV_crash_ctl | \ | ||||
HVMPV_synic | \ | HVMPV_synic | \ | ||||
HVMPV_stimer | \ | HVMPV_stimer | \ | ||||
HVMPV_hcall_ipi) | HVMPV_hcall_ipi | \ | ||||
HVMPV_ex_processor_masks | \ | |||||
HVMPV_no_vp_limit | \ | |||||
HVMPV_cpu_hotplug) | |||||
#endif | #endif | ||||
/* | /* | ||||
* Set mode for virtual timers (currently x86 only): | * Set mode for virtual timers (currently x86 only): | ||||
* delay_for_missed_ticks (default): | * delay_for_missed_ticks (default): | ||||
* Do not advance a vcpu's time beyond the correct delivery time for | * Do not advance a vcpu's time beyond the correct delivery time for | ||||
* interrupts that have been missed due to preemption. Deliver missed | * interrupts that have been missed due to preemption. Deliver missed | ||||
▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
* are supported, specified by version 0 or 1 in this parameter: | * are supported, specified by version 0 or 1 in this parameter: | ||||
* - 0: default, use the old addresses | * - 0: default, use the old addresses | ||||
* PM1A_EVT == 0x1f40; PM1A_CNT == 0x1f44; PM_TMR == 0x1f48 | * PM1A_EVT == 0x1f40; PM1A_CNT == 0x1f44; PM_TMR == 0x1f48 | ||||
* - 1: use the new default qemu addresses | * - 1: use the new default qemu addresses | ||||
* PM1A_EVT == 0xb000; PM1A_CNT == 0xb004; PM_TMR == 0xb008 | * PM1A_EVT == 0xb000; PM1A_CNT == 0xb004; PM_TMR == 0xb008 | ||||
* You can find these address definitions in <hvm/ioreq.h> | * You can find these address definitions in <hvm/ioreq.h> | ||||
*/ | */ | ||||
#define HVM_PARAM_ACPI_IOPORTS_LOCATION 19 | #define HVM_PARAM_ACPI_IOPORTS_LOCATION 19 | ||||
/* Boolean: Enable nestedhvm (hvm only) */ | |||||
#define HVM_PARAM_NESTEDHVM 24 | |||||
/* Params for the mem event rings */ | /* Params for the mem event rings */ | ||||
#define HVM_PARAM_PAGING_RING_PFN 27 | #define HVM_PARAM_PAGING_RING_PFN 27 | ||||
#define HVM_PARAM_MONITOR_RING_PFN 28 | #define HVM_PARAM_MONITOR_RING_PFN 28 | ||||
#define HVM_PARAM_SHARING_RING_PFN 29 | #define HVM_PARAM_SHARING_RING_PFN 29 | ||||
/* SHUTDOWN_* action in case of a triple fault */ | /* SHUTDOWN_* action in case of a triple fault */ | ||||
#define HVM_PARAM_TRIPLE_FAULT_REASON 31 | #define HVM_PARAM_TRIPLE_FAULT_REASON 31 | ||||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |