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: (tools: acrntrace: Refactor vmexit_analyzer based on new trace format)
@@ -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
}
