From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57106 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlMux-0001Ec-7w for qemu-devel@nongnu.org; Fri, 04 Feb 2011 09:45:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlMuv-0003Qy-E9 for qemu-devel@nongnu.org; Fri, 04 Feb 2011 09:45:47 -0500 Received: from cantor2.suse.de ([195.135.220.15]:38844 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlMuv-0003Qg-1c for qemu-devel@nongnu.org; Fri, 04 Feb 2011 09:45:45 -0500 References: <7564d180e958415b388e0cb93e2f2a71.squirrel@webmail.iitd.ernet.in> In-Reply-To: <7564d180e958415b388e0cb93e2f2a71.squirrel@webmail.iitd.ernet.in> Mime-Version: 1.0 (iPhone Mail 8C148) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=cp932 Message-Id: <57F58C04-DDF3-4F8C-9BC3-DAED54D2D088@suse.de> From: Alexander Graf Date: Fri, 4 Feb 2011 15:43:48 +0100 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: Dushyant Bansal Cc: "qemu-devel@nongnu.org" , "kvm-ppc@vger.kernel.org" On 04.02.2011, at 14:25, "Dushyant Bansal" wro= te: > 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 >=20 > $ ./configure --enable-kvm --target-list=3D"ppc-softmmu" > $ make >=20 > [...] > 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 =81ekvm_arch_init_vc= pu=81f: > /home/user/project/qemu/target-ppc/kvm.c:81: error: =81estruct kvm_sregs=81= f has > no member named =81epvr=81f Hrm. This means that your kernel headers in /usr/include/linux are too old. C= an you try and find out which kernel version they are from please? Thanks, Alex > make[1]: *** [kvm.o] Error 1 > make: *** [subdir-ppc-softmmu] Error 2 >=20 >=20 > qemu-version: 0.13.5, 0.13.0 >=20 > Other information: > Host os : ubuntu-desktop-10.04-powerpc >=20 > $ uname -a > Linux user-desktop 2.6.37-rc6 #2 SMP Fri Feb 4 16:29:05 IST 2011 ppc64 > GNU/Linux >=20 > $ cat /proc/cpuinfo > processor : 0 > cpu : PPC970FX, altivec supported > clock : 2100.000000MHz > revision : 3.1 (pvr 003c 0301) > timebase : 33333333 > platform : PowerMac > model : PowerMac12,1 > machine : PowerMac12,1 > motherboard : PowerMac12,1 MacRISC4 Power Macintosh > detected as : 337 (iMac G5 (iSight)) > pmac flags : 00000000 > L2 cache : 512K unified > pmac-generation : NewWorld >=20 >=20 > Thanks, > Dushyant >=20 >=20 > -- > To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html