Kernel KVM-PPC virtualization development
 help / color / mirror / Atom feed
From: "Dushyant Bansal" <cs5070214@cse.iitd.ernet.in>
To: qemu-devel@nongnu.org,
	"kvm-ppc@vger.kernel.org" <kvm-ppc@vger.kernel.org>
Subject: qemu compiling error on ppc64: kvm.c:81: error:
Date: Fri, 04 Feb 2011 13:37:00 +0000	[thread overview]
Message-ID: <7564d180e958415b388e0cb93e2f2a71.squirrel@webmail.iitd.ernet.in> (raw)

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



             reply	other threads:[~2011-02-04 13:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-04 13:37 Dushyant Bansal [this message]
2011-02-04 14:43 ` qemu compiling error on ppc64: kvm.c:81: error: Alexander Graf
2011-02-04 18:35   ` qemu compiling error on ppc64: kvm.c: Jan Kiszka
2011-02-04 20:03     ` qemu compiling error on ppc64: kvm.c:81: error: Alexander Graf
2011-02-04 19:31   ` qemu compiling error on ppc64: kvm.c: Dushyant Bansal
2011-02-04 20:04     ` qemu compiling error on ppc64: kvm.c:81: error: Alexander Graf
2011-02-15 14:33       ` qemu compiling error on ppc64: kvm.c: Dushyant Bansal
2011-02-15 14:33         ` Alexander Graf
2011-02-15 16:11           ` qemu compiling error on ppc64: kvm.c:81: error: 'struct kvm_sregs' Dushyant Bansal
2011-02-16  9:09             ` Avi Kivity
2011-02-25 16:29               ` Dushyant Bansal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7564d180e958415b388e0cb93e2f2a71.squirrel@webmail.iitd.ernet.in \
    --to=cs5070214@cse.iitd.ernet.in \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox