Skip to contentSkip to conversation

ppc32 build failed

DISCUSSION Yang Rui Rui 4 participants 6 messages Nov 19, 2010 3 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

Hi,

I searched the archive found some discutions about this, not fixed yet? could someone tell, is g4 kvm available now?

powerpc g4 build failed (host kernel 2.6.37-rc2):

CC ppc-softmmu/kvm.o
/home/dave/qemu-kvm/target-ppc/kvm.c: In function 'kvm_arch_init_vcpu':
/home/dave/qemu-kvm/target-ppc/kvm.c:81: error: 'struct kvm_sregs' has no member named 'pvr' /home/dave/qemu-kvm/target-ppc/kvm.c: In function 'kvm_arch_get_registers':
/home/dave/qemu-kvm/target-ppc/kvm.c:168: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:180: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:185: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:186: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:187: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:188: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c: At top level:
/home/dave/qemu-kvm/target-ppc/kvm.c:261: error: conflicting types for 'kvm_arch_process_irqchip_events' /home/dave/qemu-kvm/qemu-kvm.h:692: error: previous declaration of 'kvm_arch_process_irqchip_events' was here make[1]: *** [kvm.o] Error 1
make: *** [subdir-ppc-softmmu] Error 2

Signature · 1 line
To adhere means to yield. To yield means to adhere.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 4 lines · Yang Rui Rui

Hi,

I searched the archive found some discutions about this, not fixed yet? could someone tell, is g4 kvm available now?

Hi, (added kvm-ppc to Cc)

I'm using g4 (Mac mini box) to run KVM.
- though not tried 2.6.37-rc2 yet.

Aren't you using upstream qemu?
IIRC, ppc kvm needs to use upstream qemu.

You can see useful information on KVM "PowerPC port" page.
http://www.linux-kvm.org/page/PowerPC

-> no g4 example but we can find enough information.

BTW, why the entry "Book3S PPC32" in the processor support table is still "NO", anyone?
http://www.linux-kvm.org/page/Processor_support

I don't know well about PPC, so you need to ask Alex about more technical issues.

Takuya

Quoted 19 lines

powerpc g4 build failed (host kernel 2.6.37-rc2):

CC ppc-softmmu/kvm.o
/home/dave/qemu-kvm/target-ppc/kvm.c: In function 'kvm_arch_init_vcpu':
/home/dave/qemu-kvm/target-ppc/kvm.c:81: error: 'struct kvm_sregs' has no member named 'pvr' /home/dave/qemu-kvm/target-ppc/kvm.c: In function 'kvm_arch_get_registers':
/home/dave/qemu-kvm/target-ppc/kvm.c:168: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:180: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:185: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:186: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:187: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:188: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c: At top level:
/home/dave/qemu-kvm/target-ppc/kvm.c:261: error: conflicting types for 'kvm_arch_process_irqchip_events' /home/dave/qemu-kvm/qemu-kvm.h:692: error: previous declaration of 'kvm_arch_process_irqchip_events' was here make[1]: *** [kvm.o] Error 1
make: *** [subdir-ppc-softmmu] Error 2

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 6 lines · Takuya Yoshikawa
Quoted 4 lines · Yang Rui Rui

Hi,

I searched the archive found some discutions about this, not fixed yet? could someone tell, is g4 kvm available now?

Quoted 7 lines

Hi, (added kvm-ppc to Cc)

I'm using g4 (Mac mini box) to run KVM.
- though not tried 2.6.37-rc2 yet.

Aren't you using upstream qemu?
IIRC, ppc kvm needs to use upstream qemu.

I use qemu-kvm git version. Do you means qemu instead of qemu-kvm?

Quoted 12 lines

You can see useful information on KVM "PowerPC port" page.

    http://www.linux-kvm.org/page/PowerPC

    ->  no g4 example but we can find enough information.

BTW, why the entry "Book3S PPC32" in the processor support table is still "NO", anyone?
http://www.linux-kvm.org/page/Processor_support

Thanks a lot

Quoted 28 lines

I don't know well about PPC, so you need to ask Alex about more technical issues.

Takuya

Quoted 19 lines

powerpc g4 build failed (host kernel 2.6.37-rc2):

CC ppc-softmmu/kvm.o
/home/dave/qemu-kvm/target-ppc/kvm.c: In function 'kvm_arch_init_vcpu':
/home/dave/qemu-kvm/target-ppc/kvm.c:81: error: 'struct kvm_sregs' has no member named 'pvr' /home/dave/qemu-kvm/target-ppc/kvm.c: In function 'kvm_arch_get_registers':
/home/dave/qemu-kvm/target-ppc/kvm.c:168: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:180: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:185: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:186: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:187: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:188: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c: At top level:
/home/dave/qemu-kvm/target-ppc/kvm.c:261: error: conflicting types for 'kvm_arch_process_irqchip_events' /home/dave/qemu-kvm/qemu-kvm.h:692: error: previous declaration of 'kvm_arch_process_irqchip_events' was here make[1]: *** [kvm.o] Error 1
make: *** [subdir-ppc-softmmu] Error 2

Signature · 1 line
To adhere means to yield. To yield means to adhere.
#5 lore raw
Quoted 9 lines · Yang Ruirui R
Quoted 8 lines · Takuya Yoshikawa
Quoted 4 lines · Yang Rui Rui

Hi,

I searched the archive found some discutions about this, not fixed yet? could someone tell, is g4 kvm available now?

Hi, (added kvm-ppc to Cc)

Quoted 7 lines
Quoted 5 lines

I'm using g4 (Mac mini box) to run KVM.
- though not tried 2.6.37-rc2 yet.

Aren't you using upstream qemu?
IIRC, ppc kvm needs to use upstream qemu.

I use qemu-kvm git version. Do you means qemu instead of qemu-kvm?

Hi, qemu 0.13.0 build passed

Quoted 46 lines
Quoted 4 lines

You can see useful information on KVM "PowerPC port" page.

Quoted 9 lines
     http://www.linux-kvm.org/page/PowerPC

     ->   no g4 example but we can find enough information.

BTW, why the entry "Book3S PPC32" in the processor support table is still "NO", anyone?
http://www.linux-kvm.org/page/Processor_support

Thanks a lot

Quoted 28 lines

I don't know well about PPC, so you need to ask Alex about more technical issues.

Takuya

Quoted 19 lines

powerpc g4 build failed (host kernel 2.6.37-rc2):

CC ppc-softmmu/kvm.o
/home/dave/qemu-kvm/target-ppc/kvm.c: In function 'kvm_arch_init_vcpu':
/home/dave/qemu-kvm/target-ppc/kvm.c:81: error: 'struct kvm_sregs' has no member named 'pvr' /home/dave/qemu-kvm/target-ppc/kvm.c: In function 'kvm_arch_get_registers':
/home/dave/qemu-kvm/target-ppc/kvm.c:168: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:180: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:185: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:186: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:187: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c:188: error: 'struct kvm_sregs' has no member named 'u' /home/dave/qemu-kvm/target-ppc/kvm.c: At top level:
/home/dave/qemu-kvm/target-ppc/kvm.c:261: error: conflicting types for 'kvm_arch_process_irqchip_events' /home/dave/qemu-kvm/qemu-kvm.h:692: error: previous declaration of 'kvm_arch_process_irqchip_events' was here make[1]: *** [kvm.o] Error 1
make: *** [subdir-ppc-softmmu] Error 2

Signature · 1 line
To adhere means to yield. To yield means to adhere.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Aren't you using upstream qemu?
IIRC, ppc kvm needs to use upstream qemu.

I use qemu-kvm git version. Do you means qemu instead of qemu-kvm?

Hi, qemu 0.13.0 build passed

Yes, that what I meant!

Takuya

#8 lore raw
In reply to Takuya Yoshikawa
Quoted 18 lines · Takuya Yoshikawa
Quoted 4 lines · Yang Rui Rui

Hi,

I searched the archive found some discutions about this, not fixed yet? could someone tell, is g4 kvm available now?

Hi, (added kvm-ppc to Cc)

I'm using g4 (Mac mini box) to run KVM.
- though not tried 2.6.37-rc2 yet.

Aren't you using upstream qemu?
IIRC, ppc kvm needs to use upstream qemu.

You can see useful information on KVM "PowerPC port" page.
http://www.linux-kvm.org/page/PowerPC

Quoted 6 lines

-> no g4 example but we can find enough information.

BTW, why the entry "Book3S PPC32" in the processor support table is still "NO", anyone?
http://www.linux-kvm.org/page/Processor_support

Because I'm better at writing code than at maintaining wikis :). Thanks a lot for the reminder. I changed it.

Alex