From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Date: Fri, 04 Feb 2011 18:35:01 +0000 Subject: =?UTF-8?B?UmU6IHFlbXUgY29tcGlsaW5nIGVycm9yIG9uIHBwYzY0OiBrdm0uYzo=?= Message-Id: <4D4C46D5.6070408@siemens.com> List-Id: References: <7564d180e958415b388e0cb93e2f2a71.squirrel@webmail.iitd.ernet.in> <57F58C04-DDF3-4F8C-9BC3-DAED54D2D088@suse.de> In-Reply-To: <57F58C04-DDF3-4F8C-9BC3-DAED54D2D088@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Alexander Graf Cc: "kvm-ppc@vger.kernel.org" , "qemu-devel@nongnu.org" , Dushyant Bansal On 2011-02-04 15:43, Alexander Graf wrote: > > On 04.02.2011, at 14:25, "Dushyant Bansal" wrote: > >> Hi, >> I am trying to install kvm on ppc64 system (imac G5). I have built >> kernel with kvm module. When I try to install qemu, I am getting this >> error >> >> $ ./configure --enable-kvm --target-list="ppc-softmmu" >> $ make >> >> [...] >> CC slirp/tftp.o >> CC libdis/ppc-dis.o >> GEN config-target.h >> CC ppc-softmmu/arch_init.o >> CC ppc-softmmu/cpus.o >> GEN ppc-softmmu/hmp-commands.h >> GEN ppc-softmmu/qmp-commands.h >> CC ppc-softmmu/monitor.o >> CC ppc-softmmu/machine.o >> CC ppc-softmmu/gdbstub.o >> CC ppc-softmmu/balloon.o >> CC ppc-softmmu/virtio-blk.o >> CC ppc-softmmu/virtio-balloon.o >> CC ppc-softmmu/virtio-net.o >> CC ppc-softmmu/virtio-serial-bus.o >> CC ppc-softmmu/virtio-pci.o >> CC ppc-softmmu/vhost_net.o >> CC ppc-softmmu/rwhandler.o >> CC ppc-softmmu/kvm.o >> /home/user/project/qemu/target-ppc/kvm.c: In function ‘kvm_arch_init_vcpu’: >> /home/user/project/qemu/target-ppc/kvm.c:81: error: ‘struct kvm_sregs’ has >> no member named ‘pvr’ > > Hrm. This means that your kernel headers in /usr/include/linux are too old. Can you try and find out which kernel version they are from please? < 2.6.33. Lacking build-time KVM_CAP check? Or is such a kernel too old anyway? Then catch it during configure and point the user to... well... there is no kvm-kmod with kernel header updates for PowerPC. Hmm... ;) Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45579 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlQVg-0001E2-SS for qemu-devel@nongnu.org; Fri, 04 Feb 2011 13:35:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlQVf-00028H-FR for qemu-devel@nongnu.org; Fri, 04 Feb 2011 13:35:56 -0500 Received: from thoth.sbs.de ([192.35.17.2]:30658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlQVf-000288-5G for qemu-devel@nongnu.org; Fri, 04 Feb 2011 13:35:55 -0500 Message-ID: <4D4C46D5.6070408@siemens.com> Date: Fri, 04 Feb 2011 19:35:01 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <7564d180e958415b388e0cb93e2f2a71.squirrel@webmail.iitd.ernet.in> <57F58C04-DDF3-4F8C-9BC3-DAED54D2D088@suse.de> In-Reply-To: <57F58C04-DDF3-4F8C-9BC3-DAED54D2D088@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] =?utf-8?q?Re=3A_qemu_compiling_error_on_ppc64=3A_kv?= =?utf-8?b?bS5jOjgxOiBlcnJvcjogIMKRc3RydWN0IGt2bV9zcmVnc8KSIGhhcyBubyBt?= =?utf-8?q?ember_named_=C2=91pvr=C2=92?= List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: "kvm-ppc@vger.kernel.org" , "qemu-devel@nongnu.org" , Dushyant Bansal On 2011-02-04 15:43, Alexander Graf wrote: >=20 > On 04.02.2011, at 14:25, "Dushyant Bansal" wrote: >=20 >> Hi, >> I am trying to install kvm on ppc64 system (imac G5). I have built >> kernel with kvm module. When I try to install qemu, I am getting this >> error >> >> $ ./configure --enable-kvm --target-list=3D"ppc-softmmu" >> $ make >> >> [...] >> CC slirp/tftp.o >> CC libdis/ppc-dis.o >> GEN config-target.h >> CC ppc-softmmu/arch_init.o >> CC ppc-softmmu/cpus.o >> GEN ppc-softmmu/hmp-commands.h >> GEN ppc-softmmu/qmp-commands.h >> CC ppc-softmmu/monitor.o >> CC ppc-softmmu/machine.o >> CC ppc-softmmu/gdbstub.o >> CC ppc-softmmu/balloon.o >> CC ppc-softmmu/virtio-blk.o >> CC ppc-softmmu/virtio-balloon.o >> CC ppc-softmmu/virtio-net.o >> CC ppc-softmmu/virtio-serial-bus.o >> CC ppc-softmmu/virtio-pci.o >> CC ppc-softmmu/vhost_net.o >> CC ppc-softmmu/rwhandler.o >> CC ppc-softmmu/kvm.o >> /home/user/project/qemu/target-ppc/kvm.c: In function =E2=80=98kvm_arc= h_init_vcpu=E2=80=99: >> /home/user/project/qemu/target-ppc/kvm.c:81: error: =E2=80=98struct kv= m_sregs=E2=80=99 has >> no member named =E2=80=98pvr=E2=80=99 >=20 > Hrm. This means that your kernel headers in /usr/include/linux are too = old. Can you try and find out which kernel version they are from please? < 2.6.33. Lacking build-time KVM_CAP check? Or is such a kernel too old anyway? Then catch it during configure and point the user to... well... there is no kvm-kmod with kernel header updates for PowerPC. Hmm... ;) Jan --=20 Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux