From: Gleb Natapov <gleb@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>, kvm <kvm@vger.kernel.org>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [PATCH][QEMU] vmxcap: Augment reported information
Date: Thu, 14 Feb 2013 09:56:11 +0200 [thread overview]
Message-ID: <20130214075611.GI9817@redhat.com> (raw)
In-Reply-To: <511B7C86.9050401@siemens.com>
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.
prev parent reply other threads:[~2013-02-14 7:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 11:44 [PATCH][QEMU] vmxcap: Augment reported information Jan Kiszka
2013-02-14 7:56 ` Gleb Natapov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130214075611.GI9817@redhat.com \
--to=gleb@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox