From: Eduardo Habkost Date: Fri, 26 Aug 2016 03:10:24 +0000 (-0400) Subject: vmxcap: Show raw MSR value X-Git-Tag: v2.8.0-rc0~142^2~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a7b47a786bb16d36ad6f1733138d4aeb233bb3d;p=thirdparty%2Fqemu.git 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 Message-Id: <1472181025-10889-2-git-send-email-ehabkost@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap index 8f0371f4988..9af71ead1bd 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]