HLT_IGNORED stat is used by both vmx and svm - move to common stats.
Submitted by: Anish Gupta (akgupt3@gmail.com)
This commit is contained in:
parent
8b62d4719a
commit
0bddaa8d25
@ -169,9 +169,6 @@ static int cap_pause_exit;
|
||||
static int cap_unrestricted_guest;
|
||||
static int cap_monitor_trap;
|
||||
|
||||
/* statistics */
|
||||
static VMM_STAT_INTEL(VMEXIT_HLT_IGNORED, "number of times hlt was ignored");
|
||||
|
||||
#ifdef KTR
|
||||
static const char *
|
||||
exit_reason_to_str(int reason)
|
||||
|
@ -137,6 +137,7 @@ VMM_STAT(VCPU_MIGRATIONS, "vcpu migration across host cpus");
|
||||
VMM_STAT(VMEXIT_COUNT, "total number of vm exits");
|
||||
VMM_STAT(VMEXIT_EXTINT, "vm exits due to external interrupt");
|
||||
VMM_STAT(VMEXIT_HLT, "number of times hlt was intercepted");
|
||||
VMM_STAT(VMEXIT_HLT_IGNORED, "number of times hlt was ignored");
|
||||
VMM_STAT(VMEXIT_CR_ACCESS, "number of times %cr access was intercepted");
|
||||
VMM_STAT(VMEXIT_RDMSR, "number of times rdmsr was intercepted");
|
||||
VMM_STAT(VMEXIT_WRMSR, "number of times wrmsr was intercepted");
|
||||
|
@ -107,6 +107,7 @@ VMM_STAT_DECLARE(VCPU_MIGRATIONS);
|
||||
VMM_STAT_DECLARE(VMEXIT_COUNT);
|
||||
VMM_STAT_DECLARE(VMEXIT_EXTINT);
|
||||
VMM_STAT_DECLARE(VMEXIT_HLT);
|
||||
VMM_STAT_DECLARE(VMEXIT_HLT_IGNORED);
|
||||
VMM_STAT_DECLARE(VMEXIT_CR_ACCESS);
|
||||
VMM_STAT_DECLARE(VMEXIT_RDMSR);
|
||||
VMM_STAT_DECLARE(VMEXIT_WRMSR);
|
||||
|
Loading…
Reference in New Issue
Block a user