Commit 6a7b47a7 authored by Eduardo Habkost's avatar Eduardo Habkost Committed by Paolo Bonzini
Browse files

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: default avatarEduardo Habkost <ehabkost@redhat.com>
Message-Id: <1472181025-10889-2-git-send-email-ehabkost@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 65a8e1f6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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]