]> Git Repo - qemu.git/commitdiff
vmxcap: Show raw MSR value
authorEduardo Habkost <[email protected]>
Fri, 26 Aug 2016 03:10:24 +0000 (23:10 -0400)
committerPaolo Bonzini <[email protected]>
Tue, 13 Sep 2016 17:08:46 +0000 (19:08 +0200)
This will be helpful to allow checking of bits that are not in
the 'bits' table yet.

Signed-off-by: Eduardo Habkost <[email protected]>
Message-Id: <1472181025[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
scripts/kvm/vmxcap

index 8f0371f4988aff58206ca5efe35895cce8b4c836..9af71ead1bdeed462adab11c99314e368f4101de 100755 (executable)
@@ -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]
This page took 0.023837 seconds and 4 git commands to generate.