Skip to content

Commit

Permalink
scripts/kvm/kvm_stat: Remove unneeded X86_EXIT_REASONS
Browse files Browse the repository at this point in the history
The architecture detection method directly accesses vmx and smv exit
reason constants. Therefore we don't need it anymore.

Signed-off-by: Janosch Frank <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Janosch Frank authored and bonzini committed Jan 26, 2016
1 parent 068294a commit 9c0ab05
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/kvm/kvm_stat
Original file line number Diff line number Diff line change
@@ -208,11 +208,6 @@ USERSPACE_EXIT_REASONS = {
'SYSTEM_EVENT': 24,
}

X86_EXIT_REASONS = {
'vmx': VMX_EXIT_REASONS,
'svm': SVM_EXIT_REASONS,
}

IOCTL_NUMBERS = {
'SET_FILTER': 0x40082406,
'ENABLE': 0x00002400,

0 comments on commit 9c0ab05

Please sign in to comment.