diff mbox

[PULL,32/49] scripts/kvm/kvm_stat: Remove unneeded X86_EXIT_REASONS

Message ID 1453816041-36362-33-git-send-email-pbonzini@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Paolo Bonzini Jan. 26, 2016, 1:47 p.m. UTC
From: Janosch Frank <frankja@linux.vnet.ibm.com>

The architecture detection method directly accesses vmx and smv exit
reason constants. Therefore we don't need it anymore.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-27-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 scripts/kvm/kvm_stat | 5 -----
 1 file changed, 5 deletions(-)
diff mbox

Patch

diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kvm_stat
index 42d35f5..8efe3b8 100755
--- a/scripts/kvm/kvm_stat
+++ b/scripts/kvm/kvm_stat
@@ -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,