From: Gleb Natapov <gleb@redhat.com>
To: Bandan Das <bsd@redhat.com>
Cc: kvm@vger.kernel.org, Paolo Bonzini <pbonzini@redhat.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
"Nakajima, Jun" <jun.nakajima@intel.com>
Subject: Re: [PATCH v2 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO
Date: Wed, 5 Jun 2013 11:42:13 +0300 [thread overview]
Message-ID: <20130605084213.GQ4725@redhat.com> (raw)
In-Reply-To: <1370361738-4277-1-git-send-email-bsd@redhat.com>
On Tue, Jun 04, 2013 at 12:02:16PM -0400, Bandan Das wrote:
> These patches add an emulated MSR_PLATFORM_INFO that kvm guests
> can read as described in section 14.3.2.4 of the Intel SDM.
> The relevant changes and details are in [2/2]; [1/2] makes vendor_intel
> generic. There are atleat two known applications that fail to run because
> of this MSR missing - Sandra and vTune.
So I really want Intel opinion on this. Right now it is impossible to
implement the MSR correctly in the face of migration (may be with tsc
scaling it will be possible) and while it is unimplemented if application
tries to use it it fails, but if we will implement it application will
just produce incorrect result without any means for user to detect it.
>
> v2: Addressed suggested changes
>
> Bandan Das (2):
> kvm: make vendor_intel a generic function
> kvm: x86: emulate MSR_PLATFORM_INFO
>
> arch/x86/include/asm/kvm_emulate.h | 13 ----------
> arch/x86/include/asm/kvm_host.h | 20 +++++++++++++++
> arch/x86/include/uapi/asm/msr-index.h | 2 ++
> arch/x86/kvm/cpuid.c | 19 ++++++++++++++
> arch/x86/kvm/cpuid.h | 16 ++++++++++++
> arch/x86/kvm/emulate.c | 16 +++---------
> arch/x86/kvm/x86.c | 48 +++++++++++++++++++++++++++++++++++
> 7 files changed, 109 insertions(+), 25 deletions(-)
>
> --
> 1.8.1.4
--
Gleb.
next prev parent reply other threads:[~2013-06-05 8:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-04 16:02 [PATCH v2 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO Bandan Das
2013-06-04 16:02 ` [PATCH v2 1/2] kvm: make vendor_intel a generic function Bandan Das
2013-06-04 23:33 ` Paolo Bonzini
2013-06-04 16:02 ` [PATCH v2 2/2] kvm: x86: emulate MSR_PLATFORM_INFO Bandan Das
2013-06-18 14:07 ` Paolo Bonzini
2013-06-18 15:11 ` Bandan Das
2013-06-05 8:42 ` Gleb Natapov [this message]
2013-06-18 14:05 ` [PATCH v2 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO Paolo Bonzini
2013-06-18 15:16 ` Gleb Natapov
2013-06-18 15:29 ` Bandan Das
2013-06-18 15:40 ` Gleb Natapov
2013-06-19 17:50 ` Bandan Das
2013-06-20 7:31 ` Gleb Natapov
2013-06-20 8:34 ` Paolo Bonzini
2013-06-20 8:57 ` Gleb Natapov
2013-06-18 17:59 ` Nakajima, Jun
2013-06-19 10:57 ` Gleb Natapov
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=20130605084213.GQ4725@redhat.com \
--to=gleb@redhat.com \
--cc=bsd@redhat.com \
--cc=jun.nakajima@intel.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.