Received: from eggs.gnu.org ([2001:4830:134:3::10]:59958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bd7XZ-0005fp-JR for qemu-devel@nongnu.org; Thu, 25 Aug 2016 23:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bd7XU-0003Rt-4J for qemu-devel@nongnu.org; Thu, 25 Aug 2016 23:10:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bd7XT-0003Rn-Uy for qemu-devel@nongnu.org; Thu, 25 Aug 2016 23:10:40 -0400 From: Eduardo Habkost Date: Thu, 25 Aug 2016 23:10:24 -0400 Message-Id: <1472181025-10889-2-git-send-email-ehabkost@redhat.com> In-Reply-To: <1472181025-10889-1-git-send-email-ehabkost@redhat.com> References: <1472181025-10889-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] vmxcap: Show raw MSR value List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Jan Kiszka This will be helpful to allow checking of bits that are not in the 'bits' table yet. Signed-off-by: Eduardo Habkost --- scripts/kvm/vmxcap | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap index 8f0371f..9af71ea 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] -- 2.7.4