* [PATCH][QEMU] vmxcap: Augment reported information
@ 2013-02-13 11:44 Jan Kiszka
2013-02-14 7:56 ` Gleb Natapov
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2013-02-13 11:44 UTC (permalink / raw)
To: Marcelo Tosatti, Gleb Natapov; +Cc: kvm, qemu-devel
Parse the Basic VMX Information MSR and add the bit for the new posted
interrupts.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
scripts/kvm/vmxcap | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap
index 6363e73..a1a44a0 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,
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH][QEMU] vmxcap: Augment reported information
2013-02-13 11:44 [PATCH][QEMU] vmxcap: Augment reported information Jan Kiszka
@ 2013-02-14 7:56 ` Gleb Natapov
0 siblings, 0 replies; 2+ messages in thread
From: Gleb Natapov @ 2013-02-14 7:56 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Marcelo Tosatti, kvm, qemu-devel
On Wed, Feb 13, 2013 at 12:44:06PM +0100, Jan Kiszka wrote:
> Parse the Basic VMX Information MSR and add the bit for the new posted
> interrupts.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Applied, thanks.
> ---
> scripts/kvm/vmxcap | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/kvm/vmxcap b/scripts/kvm/vmxcap
> index 6363e73..a1a44a0 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,
> --
> 1.7.3.4
--
Gleb.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-14 7:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-13 11:44 [PATCH][QEMU] vmxcap: Augment reported information Jan Kiszka
2013-02-14 7:56 ` Gleb Natapov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox