qemu compiling error on ppc64: kvm.c:81: error: ?struct kvm_sregs? has no member named ?pvr?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
make[1]: *** [kvm.o] Error 1
make: *** [subdir-ppc-softmmu] Error 2


qemu-version: 0.13.5, 0.13.0

Other information:
Host os : ubuntu-desktop-10.04-powerpc

$ uname -a
Linux user-desktop 2.6.37-rc6 #2 SMP Fri Feb 4 16:29:05 IST 2011 ppc64
GNU/Linux

$ 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


Thanks,
Dushyant


--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux