[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: qemu compiling error on ppc64: kv m.c:81: error: stru
From: |
Alexander Graf |
Subject: |
[Qemu-devel] Re: qemu compiling error on ppc64: kv m.c:81: error: struct kvm_sregs has no m ember named pvr |
Date: |
Fri, 4 Feb 2011 21:03:38 +0100 |
On 04.02.2011, at 19:35, Jan Kiszka <address@hidden> wrote:
> On 2011-02-04 15:43, Alexander Graf wrote:
>>
>> On 04.02.2011, at 14:25, "Dushyant Bansal" <address@hidden> 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... ;)
Yes, certainly lacking a configure time dependency :).
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT T DE IT 1
> Corporate Competence Center Embedded Linux
- [Qemu-devel] qemu compiling error on ppc64: kvm.c:81: error: struct kvm_sregs has no member named pvr, Dushyant Bansal, 2011/02/04
- [Qemu-devel] Re: qemu compiling error on ppc64: kv m.c:81: error: struct kvm_sregs has no m ember named pvr, Alexander Graf, 2011/02/04
- [Qemu-devel] Re: qemu compiling error on ppc64: kv m.c:81: error: struct kvm_sregs has no m ember named pvr, Jan Kiszka, 2011/02/04
- [Qemu-devel] Re: qemu compiling error on ppc64: kv m.c:81: error: struct kvm_sregs has no m ember named pvr,
Alexander Graf <=
- [Qemu-devel] Re: qemu compiling error on ppc64: kv m.c:81: error: struct kvm_sregs has no m ember named pvr, Dushyant Bansal, 2011/02/04
- [Qemu-devel] Re: qemu compiling error on ppc64: kv m.c:81: error: struct kvm_sregs has no m ember named pvr, Alexander Graf, 2011/02/04
- [Qemu-devel] Re: qemu compiling error on ppc64: kv m.c:81: error: struct kvm_sregs has no m ember named pvr, Dushyant Bansal, 2011/02/15
- [Qemu-devel] Re: qemu compiling error on ppc64 : kvm.c:81: error: struct kvm_sregs has no member named pvr, Alexander Graf, 2011/02/15
- [Qemu-devel] Re: qemu compiling error on ppc64: kvm.c:81: error: 'struct kvm_sregs' has no member named 'pvr', Dushyant Bansal, 2011/02/15
- [Qemu-devel] Re: qemu compiling error on ppc64: kvm.c:81: error: 'struct kvm_sregs' has no member named 'pvr', Avi Kivity, 2011/02/16
- [Qemu-devel] Re: qemu compiling error on ppc64: kvm.c:81: error: 'struct kvm_sregs' has no member named 'pvr', Dushyant Bansal, 2011/02/25