From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: qemu-kvm.git build problem Date: Mon, 11 Jan 2010 11:13:38 +0100 Message-ID: <4B4AF9D2.3080100@siemens.com> References: <1262025646.2774.16.camel@localhost.localdomain> <1263014581.2439.207.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: KVM mailing list , Michael Goldish , Eduardo Habkost , Dor Laor , Avi Kivity To: Lucas Meneghel Rodrigues Return-path: Received: from david.siemens.de ([192.35.17.14]:24662 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752872Ab0AKKNz (ORCPT ); Mon, 11 Jan 2010 05:13:55 -0500 In-Reply-To: <1263014581.2439.207.camel@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: Lucas Meneghel Rodrigues wrote: > On Mon, 2009-12-28 at 16:40 -0200, Lucas Meneghel Rodrigues wrote: >> Hi, we've had a problem on today's git testing when trying to build = from >> latest upstream qemu-kvm.git repo: >> >> 12/28 13:39:18 DEBUG| utils:0069| Running 'make -j 2' >> 12/28 13:39:18 DEBUG| utils:0101| [stdout] make -C /lib/modules/= 2.6.31.6-166.fc12.x86_64/build M=3D`pwd` \ >> 12/28 13:39:18 DEBUG| utils:0101| [stdout] LINUXINCLUDE=3D"-I`= pwd`/include -Iinclude \ >> 12/28 13:39:18 DEBUG| utils:0101| [stdout] -Iarch/x86/include= -I`pwd`/include-compat -I`pwd`/x86 \ >> 12/28 13:39:18 DEBUG| utils:0101| [stdout] -include include/li= nux/autoconf.h \ >> 12/28 13:39:18 DEBUG| utils:0101| [stdout] -include `pwd`/x86/= external-module-compat.h" \ >> 12/28 13:39:18 DEBUG| utils:0101| [stdout] "$@" >> 12/28 13:39:18 DEBUG| utils:0101| [stdout] make[1]: Entering dir= ectory `/usr/src/kernels/2.6.31.6-166.fc12.x86_64' >> 12/28 13:39:19 DEBUG| utils:0101| [stdout] LD /usr/local/= autotest/tests/kvm/src/kvm_kmod/x86/built-in.o >> 12/28 13:39:19 DEBUG| utils:0101| [stdout] CC [M] /usr/local/= autotest/tests/kvm/src/kvm_kmod/x86/svm.o >> 12/28 13:39:19 DEBUG| utils:0101| [stdout] CC [M] /usr/local/= autotest/tests/kvm/src/kvm_kmod/x86/vmx.o >> 12/28 13:39:22 ERROR| utils:0101| [stderr] /usr/local/autotest/t= ests/kvm/src/kvm_kmod/x86/vmx.c:271: error: =E2=80=98MSR_TSC_AUX=E2=80=99= undeclared here (not in a function) >> 12/28 13:39:22 ERROR| utils:0101| [stderr] /usr/local/autotest/t= ests/kvm/src/kvm_kmod/x86/vmx.c: In function =E2=80=98setup_msrs=E2=80=99= : >> 12/28 13:39:22 ERROR| utils:0101| [stderr] /usr/local/autotest/t= ests/kvm/src/kvm_kmod/x86/vmx.c:985: warning: passing argument 2 of =E2= =80=98__find_msr_index=E2=80=99 makes integer from pointer without a ca= st >> 12/28 13:39:22 ERROR| utils:0101| [stderr] /usr/local/autotest/t= ests/kvm/src/kvm_kmod/x86/vmx.c:424: note: expected =E2=80=98u32=E2=80=99= but argument is of type =E2=80=98const u32 *=E2=80=99 >> 12/28 13:39:22 ERROR| utils:0101| [stderr] make[3]: *** [/usr/lo= cal/autotest/tests/kvm/src/kvm_kmod/x86/vmx.o] Error 1 >> 12/28 13:39:22 ERROR| utils:0101| [stderr] make[3]: *** Waiting = for unfinished jobs.... >> 12/28 13:39:23 ERROR| utils:0101| [stderr] make[2]: *** [/usr/lo= cal/autotest/tests/kvm/src/kvm_kmod/x86] Error 2 >> 12/28 13:39:23 DEBUG| utils:0101| [stdout] make[1]: Leaving dire= ctory `/usr/src/kernels/2.6.31.6-166.fc12.x86_64' >> 12/28 13:39:23 ERROR| utils:0101| [stderr] make[1]: *** [_module= _/usr/local/autotest/tests/kvm/src/kvm_kmod] Error 2 >> 12/28 13:39:23 ERROR| utils:0101| [stderr] make: *** [all] Error= 2 >> >> This might be a problem on kvm-kmod, I am just making sure you guys = are aware of this. >=20 > Hi folks, as of today this build problem hasn't been fixed (just a > friendly reminder). >=20 I'm aware of the issues, already fixed some of them, but were unable to fully test during vacation + the KVM tree moved on. Hope I'll find some time to push a complete solution the next days. BTW, does anybody know how to back-port synchronize_srcu_expedited best= ? It looked like a simple mapping to synchronize_srcu was not sufficient to achieve the same performance as with the pre-srcu locking (e.g. guest&host stalled during guest's framebuffer setup). Jan --=20 Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux