From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [ANNOUNCE] kvm-kmod-2.6.31.5 Date: Wed, 28 Oct 2009 13:51:35 +0100 Message-ID: <4AE83E57.9060409@siemens.com> References: <4AE5DBB5.9050306@siemens.com> <90D306BE6EBC8D428A824FBBA7A3113D012F07D55A@ronja.maurer-it.com> <4AE83131.6020306@siemens.com> <90D306BE6EBC8D428A824FBBA7A3113D012F07D55B@ronja.maurer-it.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm To: Dietmar Maurer Return-path: Received: from david.siemens.de ([192.35.17.14]:23301 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752053AbZJ1Mvf (ORCPT ); Wed, 28 Oct 2009 08:51:35 -0400 In-Reply-To: <90D306BE6EBC8D428A824FBBA7A3113D012F07D55B@ronja.maurer-it.com> Sender: kvm-owner@vger.kernel.org List-ID: Dietmar Maurer wrote: > Well, we use the ubuntu tree: > > http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=summary > > They have a few more patches applied: > > http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=history;f=include/asm-x86/msr.h;h=cfe169475b5b50a448326ef3c34f50100ac83faf;hb=HEAD > > Seems the last two patches cause the problem. > > I just wonder if we need those bariers or not? > > http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commitdiff;h=198b348d96c9769153e72ca2461f8d841ddff1cc The barrier is not our problem regarding the kvm-kmod build, it's the addition of native_read_tsc (http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commitdiff;h=d10247b31c2be39ab3109015bc99bbd2ba6554d4). Do you know if there is anything to tell this ubuntu-patched kernel apart from a vanilla version? If so, we could adjust the check in x86/external-module-compat.h to avoid this breakage. Locally, you could simply comment out the double definition for now. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux