Skip to content

Commit

Permalink
kvm_stat: Update exit reasons to the latest defintion
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
huangwei authored and bonzini committed Jan 26, 2015
1 parent edcbc40 commit 2c9d535
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/kvm/kvm_stat
Expand Up @@ -65,6 +65,8 @@ vmx_exit_reasons = {
49: 'EPT_MISCONFIG',
54: 'WBINVD',
55: 'XSETBV',
56: 'APIC_WRITE',
58: 'INVPCID',
}

svm_exit_reasons = {
Expand Down Expand Up @@ -138,6 +140,7 @@ svm_exit_reasons = {
0x08a: 'MONITOR',
0x08b: 'MWAIT',
0x08c: 'MWAIT_COND',
0x08d: 'XSETBV',
0x400: 'NPF',
}

Expand Down Expand Up @@ -167,6 +170,7 @@ userspace_exit_reasons = {
21: 'WATCHDOG',
22: 'S390_TSCH',
23: 'EPR',
24: 'SYSTEM_EVENT',
}

x86_exit_reasons = {
Expand Down

0 comments on commit 2c9d535

Please sign in to comment.