diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2013-02-13 12:44:06 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-04-17 23:27:24 -0300 |
commit | ea4ee28399f8ffee4eed2d724c28d2d9879b22fa (patch) | |
tree | d6c18b539350c6602d9a165d80363bda2c120027 /scripts | |
parent | f505a4d74aae6fc8bb5502a6038b5f671aa97713 (diff) | |
download | qemu-ea4ee28399f8ffee4eed2d724c28d2d9879b22fa.tar.gz qemu-ea4ee28399f8ffee4eed2d724c28d2d9879b22fa.tar.bz2 qemu-ea4ee28399f8ffee4eed2d724c28d2d9879b22fa.zip |
vmxcap: Augment reported information
Parse the Basic VMX Information MSR and add the bit for the new posted
interrupts.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kvm/vmxcap | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap index 6363e7368f..a1a44a04b3 100755 --- a/scripts/kvm/vmxcap +++ b/scripts/kvm/vmxcap @@ -96,6 +96,19 @@ class Misc(object): print ' %-40s %s' % (self.bits[bits], fmt(v)) controls = [ + Misc( + name = 'Basic VMX Information', + bits = { + (0, 31): 'Revision', + (32,44): 'VMCS size', + 48: 'VMCS restricted to 32 bit addresses', + 49: 'Dual-monitor support', + (50, 53): 'VMCS memory type', + 54: 'INS/OUTS instruction information', + 55: 'IA32_VMX_TRUE_*_CTLS support', + }, + msr = MSR_IA32_VMX_BASIC, + ), Control( name = 'pin-based controls', bits = { @@ -103,6 +116,7 @@ controls = [ 3: 'NMI exiting', 5: 'Virtual NMIs', 6: 'Activate VMX-preemption timer', + 7: 'Process posted interrupts', }, cap_msr = MSR_IA32_VMX_PINBASED_CTLS, true_cap_msr = MSR_IA32_VMX_TRUE_PINBASED_CTLS, |