Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/vmm/vmm.c
Show First 20 Lines • Show All 209 Lines • ▼ Show 20 Lines | |||||
* Halt the guest if all vcpus are executing a HLT instruction with | * Halt the guest if all vcpus are executing a HLT instruction with | ||||
* interrupts disabled. | * interrupts disabled. | ||||
*/ | */ | ||||
static int halt_detection_enabled = 1; | static int halt_detection_enabled = 1; | ||||
SYSCTL_INT(_hw_vmm, OID_AUTO, halt_detection, CTLFLAG_RDTUN, | SYSCTL_INT(_hw_vmm, OID_AUTO, halt_detection, CTLFLAG_RDTUN, | ||||
&halt_detection_enabled, 0, | &halt_detection_enabled, 0, | ||||
"Halt VM if all vcpus execute HLT with interrupts disabled"); | "Halt VM if all vcpus execute HLT with interrupts disabled"); | ||||
static int vmm_ipinum; | |||||
SYSCTL_INT(_hw_vmm, OID_AUTO, ipinum, CTLFLAG_RD, &vmm_ipinum, 0, | SYSCTL_INT(_hw_vmm, OID_AUTO, ipinum, CTLFLAG_RD, &vmm_ipinum, 0, | ||||
"IPI vector used for vcpu notifications"); | "IPI vector used for vcpu notifications"); | ||||
static int trace_guest_exceptions; | static int trace_guest_exceptions; | ||||
SYSCTL_INT(_hw_vmm, OID_AUTO, trace_guest_exceptions, CTLFLAG_RDTUN, | SYSCTL_INT(_hw_vmm, OID_AUTO, trace_guest_exceptions, CTLFLAG_RDTUN, | ||||
&trace_guest_exceptions, 0, | &trace_guest_exceptions, 0, | ||||
"Trap into hypervisor on all guest exceptions and reflect them back"); | "Trap into hypervisor on all guest exceptions and reflect them back"); | ||||
▲ Show 20 Lines • Show All 2,364 Lines • Show Last 20 Lines |