From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: [PATCH] kvm-kmod: x86: Add MSR_K8_SYSCFG compat define Date: Tue, 26 May 2009 14:54:00 +0200 Message-ID: <4A1BE668.7090106@siemens.com> References: <20090526115251.3362.54734.stgit@mchn012c.ww002.siemens.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Avi Kivity , kvm@vger.kernel.org To: unlisted-recipients:; (no To-header on input) Return-path: Received: from lizzard.sbs.de ([194.138.37.39]:19323 "EHLO lizzard.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752181AbZEZMyY (ORCPT ); Tue, 26 May 2009 08:54:24 -0400 In-Reply-To: <20090526115251.3362.54734.stgit@mchn012c.ww002.siemens.net> Sender: kvm-owner@vger.kernel.org List-ID: Jan Kiszka wrote: > The is a flush of my current queue against kvm-kmod. Some are reposts, > some are split-ups, and a few are new (specifically the MCE fixes). I > did not include patches that you reported to have already in your queue. > > Find the patches also at git://git.kiszka.org/kvm-kmod.git queue > > Jan Kiszka (8): > kvm-kmod: Allow to override sync source > kvm-kmod: Include asm/uaccess.h on pre-2.6.18 kernels > kvm-kmod: Include relayfs_fs.h on pre-2.6.17 kernels > kvm-kmod: Provide flush_work compat wrapper > kvm-kmod: Fix msi_enabled patching > kvm-kmod: Add eventfd.c to patch list > kvm-kmod: x86: Add MSR_IA32_TSC compat define > kvm-kmod: x86: Add MCE compat defines > And one more (probably not the last one, build round-trip on for my legacy kernel environment is currently longer than posting round-trip). Or do you have this in your queue already, too? --------> Signed-off-by: Jan Kiszka --- x86/external-module-compat.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h index 66f3aea..3fc91a1 100644 --- a/x86/external-module-compat.h +++ b/x86/external-module-compat.h @@ -512,6 +512,10 @@ struct kvm_desc_ptr { #define MSR_K7_HWCR 0xc0010015 #endif +#ifndef MSR_K8_SYSCFG +#define MSR_K8_SYSCFG 0xc0010010 +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) && defined(__x86_64__) #undef set_debugreg