From: Bandan Das Subject: [PATCH v3 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO Date: Fri, 21 Jun 2013 12:29:21 -0400 Message-ID: <1371832163-2083-1-git-send-email-bsd@redhat.com> Cc: Gleb Natapov , Paolo Bonzini , Marcelo Tosatti To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51504 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423018Ab3FUQa3 (ORCPT ); Fri, 21 Jun 2013 12:30:29 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5LGUO2a009440 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 21 Jun 2013 12:30:29 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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. v3: Some more minor corrections 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 | 13 ++++++++++ arch/x86/kvm/emulate.c | 16 +++--------- arch/x86/kvm/x86.c | 48 +++++++++++++++++++++++++++++++++++ 7 files changed, 106 insertions(+), 25 deletions(-) -- 1.8.1.4