qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [0/27] Implement emulation of pSeries logical partition


From: Alexander Graf
Subject: Re: [Qemu-devel] [0/27] Implement emulation of pSeries logical partitions (v6)
Date: Sat, 2 Apr 2011 02:21:37 +0200

On 02.04.2011, at 02:09, Anthony Liguori wrote:

> On 04/01/2011 07:06 PM, Alexander Graf wrote:
>> On 02.04.2011, at 01:21, Alexander Graf wrote:
>> 
>>> On 01.04.2011, at 21:22, Anthony Liguori wrote:
>>> 
>>>> On 04/01/2011 01:01 PM, Alexander Graf wrote:
>>>>> On 01.04.2011, at 19:28, Anthony Liguori wrote:
>>>>> 
>>>>>> On 03/31/2011 11:15 PM, David Gibson wrote:
>>>>>>> This patch series adds a "pseries" machine to qemu, allowing it to
>>>>>>> emulate IBM pSeries logical partitions.  More specifically it
>>>>>>> implements the interface defined by the "PowerPC Architecture Platform
>>>>>>> Requirements" document (PAPR, or sPAPR for short).
>>>>>>> 
>>>>>>> Along the way we add a bunch of support for more modern ppc CPUs than
>>>>>>> are currently supported.  It also makes some significant cleanups to
>>>>>>> the translation code for hash page table based ppc MMUs.
>>>>>>> 
>>>>>>> Please apply.
>>>>>> So what's a typical invocation for this?  Is:
>>>>>> 
>>>>>> qemu-system-ppc64 -m pseries foo.img -nographics
>>>>> If you run an image that requires firmare, you also need to pass in -m 
>>>>> with at least 512MB, otherwise yes, that's how it works :).
>>>> 
>>>> Here's the output on the serial console.  Looks like it's in a tight loop 
>>>> probably writing \r or something and redrawing the prompt which our 
>>>> console emulation doesn't like.
>>>> 
>>>> E3406: Client application returned an error:    undefined word
>>>> 
>>>>       ..`. ..     .......  ..           ......      .......
>>>>   ..`...`''.`'. .''``````..''.       .`''```''`.  `''``````
>>>>      .`` .:' ': `''.....  .''.       ''`     .''..''.......
>>>>        ``.':.';. ``````''`.''.      .''.      ''``''`````'`
>>>>        ``.':':`   .....`''.`'`...... `'`.....`''.`'`
>>>>       .`.`'``   .'`'`````.  ``''''''  ``''`'''`. `'`
>>>> Type 'boot'  and press return  to  continue  booting  the system.
>>>> Type 'reset-all'  and  press  return  to   reboot   the   system.
>>>> 
>>>> 
>>>> 
>>>> ( 700 ) Program Exception [ 1 ]
>>> This probably means that you're trying to run a ppc32 kernel :). No 
>>> promises on that guess though.
>> Yup, manually specifying "install64" works.
> 
> Ah, perfect!  I guess I'm showing my naivety when it comes to Power here :-)

Well, the bootloader should actually be able to detect if it needs to load the 
ppc64 or ppc32 kernel. I'm not sure why it doesn't. It's either a bug in Debian 
or in SLOF :).


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]