kvm_stat: Update exit reasons to the latest defintion

This patch updates the exit reasons for x86_vmx, x86_svm, and userspace
to the latest definition.

Signed-off-by: Wei Huang <wei@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Wei Huang 2015-01-21 16:15:30 -05:00 committed by Paolo Bonzini
parent edcbc401f4
commit 2c9d535a2e
1 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,8 @@ vmx_exit_reasons = {
49: 'EPT_MISCONFIG', 49: 'EPT_MISCONFIG',
54: 'WBINVD', 54: 'WBINVD',
55: 'XSETBV', 55: 'XSETBV',
56: 'APIC_WRITE',
58: 'INVPCID',
} }
svm_exit_reasons = { svm_exit_reasons = {
@ -138,6 +140,7 @@ svm_exit_reasons = {
0x08a: 'MONITOR', 0x08a: 'MONITOR',
0x08b: 'MWAIT', 0x08b: 'MWAIT',
0x08c: 'MWAIT_COND', 0x08c: 'MWAIT_COND',
0x08d: 'XSETBV',
0x400: 'NPF', 0x400: 'NPF',
} }
@ -167,6 +170,7 @@ userspace_exit_reasons = {
21: 'WATCHDOG', 21: 'WATCHDOG',
22: 'S390_TSCH', 22: 'S390_TSCH',
23: 'EPR', 23: 'EPR',
24: 'SYSTEM_EVENT',
} }
x86_exit_reasons = { x86_exit_reasons = {