summaryrefslogtreecommitdiffstats
path: root/scripts/kvm
diff options
context:
space:
mode:
authorEduardo Habkost2016-08-26 05:10:24 +0200
committerPaolo Bonzini2016-09-13 19:08:46 +0200
commit6a7b47a786bb16d36ad6f1733138d4aeb233bb3d (patch)
treee45771450a0e032cfe96d09018b71652816b5120 /scripts/kvm
parentscsi: mptconfig: fix misuse of MPTSAS_CONFIG_PACK (diff)
downloadqemu-6a7b47a786bb16d36ad6f1733138d4aeb233bb3d.tar.gz
qemu-6a7b47a786bb16d36ad6f1733138d4aeb233bb3d.tar.xz
qemu-6a7b47a786bb16d36ad6f1733138d4aeb233bb3d.zip
vmxcap: Show raw MSR value
This will be helpful to allow checking of bits that are not in the 'bits' table yet. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1472181025-10889-2-git-send-email-ehabkost@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/kvm')
-rwxr-xr-xscripts/kvm/vmxcap1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap
index 8f0371f498..9af71ead1b 100755
--- a/scripts/kvm/vmxcap
+++ b/scripts/kvm/vmxcap
@@ -79,6 +79,7 @@ class Misc(object):
def show(self):
print self.name
value = msr().read(self.msr, 0)
+ print ' Hex: 0x%x' % (value)
def first_bit(key):
if type(key) is tuple:
return key[0]