All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO
@ 2013-05-29 21:40 Bandan Das
  2013-05-29 21:40 ` [PATCH 1/2] kvm: make vendor_intel a generic function Bandan Das
  2013-05-29 21:40 ` [PATCH 2/2] kvm: x86: emulate MSR_PLATFORM_INFO Bandan Das
  0 siblings, 2 replies; 7+ messages in thread
From: Bandan Das @ 2013-05-29 21:40 UTC (permalink / raw)
  To: kvm; +Cc: Gleb Natapov, Paolo Bonzini, Marcelo Tosatti

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.

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       | 28 +++++++++++++++++++
 arch/x86/include/uapi/asm/msr-index.h |  2 ++
 arch/x86/kvm/cpuid.c                  | 18 +++++++++++++
 arch/x86/kvm/cpuid.h                  | 16 +++++++++++
 arch/x86/kvm/emulate.c                | 15 +++--------
 arch/x86/kvm/x86.c                    | 51 ++++++++++++++++++++++++++++++++---
 7 files changed, 115 insertions(+), 28 deletions(-)

-- 
1.8.1.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-04 16:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29 21:40 [PATCH 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO Bandan Das
2013-05-29 21:40 ` [PATCH 1/2] kvm: make vendor_intel a generic function Bandan Das
2013-05-30  5:39   ` Paolo Bonzini
2013-05-30  6:07     ` Gleb Natapov
2013-05-30  6:32       ` Paolo Bonzini
2013-06-04 16:10         ` Bandan Das
2013-05-29 21:40 ` [PATCH 2/2] kvm: x86: emulate MSR_PLATFORM_INFO Bandan Das

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.