From: Alexander Graf Subject: Re: [PATCH 6/6] KVM: PPC: Add kvm headers to headers_install Date: Tue, 3 May 2011 17:04:24 +0200 Message-ID: <00EA08FF-5902-4D50-87A9-6D2FE8565657@suse.de> References: <1304426221-23178-1-git-send-email-agraf@suse.de> <1304426221-23178-7-git-send-email-agraf@suse.de> <4DC00F49.9000801@siemens.com> <4B55CF66-84B0-4B34-9D1E-8E71E31462A1@suse.de> <4DC014E0.6030706@siemens.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Cc: KVM devel mailing list To: Jan Kiszka Return-path: Received: from cantor2.suse.de ([195.135.220.15]:36953 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752484Ab1ECPE0 convert rfc822-to-8bit (ORCPT ); Tue, 3 May 2011 11:04:26 -0400 In-Reply-To: <4DC014E0.6030706@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On 03.05.2011, at 16:44, Jan Kiszka wrote: > On 2011-05-03 16:36, Alexander Graf wrote: >> >> On 03.05.2011, at 16:20, Jan Kiszka wrote: >> >>> On 2011-05-03 14:37, Alexander Graf wrote: >>>> When running "make headers_install", we don't install kvm headers on >>>> PPC. This confuses Qemu, as it really wants to include kernel headers >>>> to know the ioctl structs. >>>> >>>> So let's add the arch/powerpc/include/asm headers that are important >>>> for KVM to the headers_install list. >>>> >>>> Signed-off-by: Alexander Graf >>>> --- >>>> arch/powerpc/include/asm/Kbuild | 2 ++ >>>> 1 files changed, 2 insertions(+), 0 deletions(-) >>>> >>>> diff --git a/arch/powerpc/include/asm/Kbuild b/arch/powerpc/include/asm/Kbuild >>>> index d51df17..568b000 100644 >>>> --- a/arch/powerpc/include/asm/Kbuild >>>> +++ b/arch/powerpc/include/asm/Kbuild >>>> @@ -34,3 +34,5 @@ header-y += termios.h >>>> header-y += types.h >>>> header-y += ucontext.h >>>> header-y += unistd.h >>>> +header-y += kvm.h >>>> +header-y += kvm_para.h >>> >>> Weird, just worked for me with current kvm master without your patch. >> >> Oh? You did do make headers_install and it did push the correct headers to usr? > > I strongly suspect. It's all documented in my header patch. Your header patch manually copies the respective files, so you're not using that code path there? Alex