From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIXJA-0000vp-2B for qemu-devel@nongnu.org; Fri, 24 Jul 2015 03:22:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIXJ6-0004Pl-LC for qemu-devel@nongnu.org; Fri, 24 Jul 2015 03:22:16 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:35168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIXJ6-0004Pa-Eh for qemu-devel@nongnu.org; Fri, 24 Jul 2015 03:22:12 -0400 Received: by wibxm9 with SMTP id xm9so15799635wib.0 for ; Fri, 24 Jul 2015 00:22:11 -0700 (PDT) MIME-Version: 1.0 References: <011301d0c5e0$457f9640$d07ec2c0$@samsung.com> In-Reply-To: <011301d0c5e0$457f9640$d07ec2c0$@samsung.com> From: Shlomo Pongratz Date: Fri, 24 Jul 2015 07:22:02 +0000 Message-ID: Content-Type: multipart/alternative; boundary=047d7b604a9acbe439051b99dcc7 Subject: Re: [Qemu-devel] [PATCH v6 4/6] Introduce irqchip type specification for KVMis List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Fedin Cc: Peter Maydell , Eric Auger , Shlomo Pongratz , qemu-devel@nongnu.org, Diana Craciun , Christoffer Dall --047d7b604a9acbe439051b99dcc7 Content-Type: text/plain; charset=UTF-8 Sorry, weekend. But I'll test it as soon as possible. S.P. On Fri, Jul 24, 2015, 10:13 Pavel Fedin wrote: > Hello! > > > This Doesn't compile, a problem with KVM_DEV_TYPE_ARM_VGIC_V2. > > I assume this is include file issue as it exists in > linux-headers/linux/kvm.h > > Note that everything should compile also for TCG only. > > Damn! I think i know what the problem is... Your host arch != target arch > and CONFIG_KVM gets disabled. > Can you try adding explicit #include "linux/kvm.h" in vexpress.c and > virt.c for a quick test? > > Kind regards, > Pavel Fedin > Expert Engineer > Samsung Electronics Research center Russia > > --047d7b604a9acbe439051b99dcc7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Sorry, weekend.
But I'll test it as soon as possible.
S.P.


On Fri, Jul 24, 2015, 10:13= =C2=A0Pavel Fedin <p.fedin@samsun= g.com> wrote:
=C2=A0Hello!
> This Doesn't compile, a problem with KVM_DEV_TYPE_ARM_VGIC_V2.
> I assume this is include file issue as it exists in linux-headers/linu= x/kvm.h
> Note that everything should compile also for TCG only.

=C2=A0Damn! I think i know what the problem is... Your host arch !=3D targe= t arch and CONFIG_KVM gets disabled.
=C2=A0Can you try adding explicit #include "linux/kvm.h" in vexpr= ess.c and virt.c for a quick test?

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia

--047d7b604a9acbe439051b99dcc7--