summaryrefslogtreecommitdiff
path: root/scripts/kvm
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.vnet.ibm.com>2016-01-11 16:17:56 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-01-26 15:58:13 +0100
commit9c0ab054edf4b197501e5fa00ce5bf16ed7e3111 (patch)
tree350f0bb68de4fd750492a243703f5cd152700ba2 /scripts/kvm
parent068294a1cac4798e4554d9c9848c7c1b31d28713 (diff)
downloadqemu-9c0ab054edf4b197501e5fa00ce5bf16ed7e3111.zip
scripts/kvm/kvm_stat: Remove unneeded X86_EXIT_REASONS
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>
Diffstat (limited to 'scripts/kvm')
-rwxr-xr-xscripts/kvm/kvm_stat5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kvm_stat
index 42d35f5d95..8efe3b886d 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,