public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* ppc32 build failed
@ 2010-11-19  6:01 Yang Rui Rui
       [not found] ` <4CE612D0.4010508-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Yang Rui Rui @ 2010-11-19  6:01 UTC (permalink / raw)
  To: kvm

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

-- 
To adhere means to yield. To yield means to adhere.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc32 build failed
       [not found] ` <4CE612D0.4010508-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org>
@ 2010-11-19  6:24   ` Takuya Yoshikawa
       [not found]     ` <4CE61829.7060403-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>
  2010-11-19 13:01     ` Alexander Graf
  0 siblings, 2 replies; 6+ messages in thread
From: Takuya Yoshikawa @ 2010-11-19  6:24 UTC (permalink / raw)
  To: Yang Rui Rui; +Cc: kvm-u79uwXL29TY76Z2rM5mHXA, kvm-ppc-u79uwXL29TY76Z2rM5mHXA

(2010/11/19 15:01), Yang Rui Rui wrote:
> 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


>
> 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
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc32 build failed
       [not found]     ` <4CE61829.7060403-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>
@ 2010-11-19  6:37       ` Yang Rui Rui
  2010-11-19  6:58         ` Yang Rui Rui
  0 siblings, 1 reply; 6+ messages in thread
From: Yang Rui Rui @ 2010-11-19  6:37 UTC (permalink / raw)
  To: Takuya Yoshikawa
  Cc: Yang Ruirui R, kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On 11/19/2010 02:24 PM, Takuya Yoshikawa wrote:
> (2010/11/19 15:01), Yang Rui Rui wrote:
>> 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.

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

>
>
> 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

>
> I don't know well about PPC, so you need to ask Alex about
> more technical issues.
>
>
> Takuya
>
>
>>
>> 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
>>
>


-- 
To adhere means to yield. To yield means to adhere.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc32 build failed
  2010-11-19  6:37       ` Yang Rui Rui
@ 2010-11-19  6:58         ` Yang Rui Rui
       [not found]           ` <4CE61FFD.3090807-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Yang Rui Rui @ 2010-11-19  6:58 UTC (permalink / raw)
  To: Yang Ruirui R
  Cc: Takuya Yoshikawa, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org

On 11/19/2010 02:37 PM, Yang Ruirui R wrote:
> On 11/19/2010 02:24 PM, Takuya Yoshikawa wrote:
>> (2010/11/19 15:01), Yang Rui Rui wrote:
>>> 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.
>
> I use qemu-kvm git version. Do you means qemu instead of qemu-kvm?

Hi, qemu 0.13.0 build passed

>
>>
>>
>> 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
>
>>
>> I don't know well about PPC, so you need to ask Alex about
>> more technical issues.
>>
>>
>> Takuya
>>
>>
>>>
>>> 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
>>>
>>
>
>


-- 
To adhere means to yield. To yield means to adhere.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc32 build failed
       [not found]           ` <4CE61FFD.3090807-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org>
@ 2010-11-19  7:04             ` Takuya Yoshikawa
  0 siblings, 0 replies; 6+ messages in thread
From: Takuya Yoshikawa @ 2010-11-19  7:04 UTC (permalink / raw)
  To: Yang Rui Rui
  Cc: Yang Ruirui R, kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

>>> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc32 build failed
  2010-11-19  6:24   ` Takuya Yoshikawa
       [not found]     ` <4CE61829.7060403-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>
@ 2010-11-19 13:01     ` Alexander Graf
  1 sibling, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2010-11-19 13:01 UTC (permalink / raw)
  To: Takuya Yoshikawa; +Cc: Yang Rui Rui, kvm, kvm-ppc


On 19.11.2010, at 07:24, Takuya Yoshikawa wrote:

> (2010/11/19 15:01), Yang Rui Rui wrote:
>> 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

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


Alex


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-19 13:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-19  6:01 ppc32 build failed Yang Rui Rui
     [not found] ` <4CE612D0.4010508-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org>
2010-11-19  6:24   ` Takuya Yoshikawa
     [not found]     ` <4CE61829.7060403-gVGce1chcLdL9jVzuh4AOg@public.gmane.org>
2010-11-19  6:37       ` Yang Rui Rui
2010-11-19  6:58         ` Yang Rui Rui
     [not found]           ` <4CE61FFD.3090807-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org>
2010-11-19  7:04             ` Takuya Yoshikawa
2010-11-19 13:01     ` Alexander Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox