tools: acrntrace: Fix wrong event id in vmexit_analyze.py

Value of VMEXIT_XXX must have the same as TRACE_VMEXIT_XXX defined in
./hypervisor/include/debug/trace.h. This patch fix the events with wrong event id.

Fixes: 8a233ee (tools: acrntrace: Refactor vmexit_analyzer based on new trace format)

Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
This commit is contained in:
Kaige Fu 2018-07-09 16:02:13 +08:00 committed by lijinxia
parent 636515aac2
commit b52be90a2f
1 changed files with 6 additions and 6 deletions

View File

@ -28,12 +28,12 @@ LIST_EVENTS = {
'VMEXIT_IO_INSTRUCTION': VMEXIT_ENTRY + 0x0000001E,
'VMEXIT_RDMSR': VMEXIT_ENTRY + 0x0000001F,
'VMEXIT_WRMSR': VMEXIT_ENTRY + 0x00000020,
'VMEXIT_APICV_ACCESS': VMEXIT_ENTRY + 0x00000030,
'VMEXIT_APICV_VIRT_EOI': VMEXIT_ENTRY + 0x00000031,
'VMEXIT_EPT_VIOLATION': VMEXIT_ENTRY + 0x00000033,
'VMEXIT_EPT_MISCONFIGURATION': VMEXIT_ENTRY + 0x00000038,
'VMEXIT_RDTSCP': VMEXIT_ENTRY + 0x00000039,
'VMEXIT_APICV_WRITE': VMEXIT_ENTRY + 0x0000003A,
'VMEXIT_EPT_VIOLATION': VMEXIT_ENTRY + 0x00000030,
'VMEXIT_EPT_MISCONFIGURATION': VMEXIT_ENTRY + 0x00000031,
'VMEXIT_RDTSCP': VMEXIT_ENTRY + 0x00000033,
'VMEXIT_APICV_WRITE': VMEXIT_ENTRY + 0x00000038,
'VMEXIT_APICV_ACCESS': VMEXIT_ENTRY + 0x00000039,
'VMEXIT_APICV_VIRT_EOI': VMEXIT_ENTRY + 0x0000003A,
'VMEXIT_UNHANDLED': 0x20000
}