> Am 28.11.2015 um 08:59 schrieb Benjamin Herrenschmidt 
> <b...@kernel.crashing.org>:
> 
>> On Fri, 2015-11-27 at 11:21 +0100, Alexander Graf wrote:
>> 
>> How does real hardware store petitboot? If it's flash, you could pass it
>> in using -pflash and thus model things even more closely and allow users
>> to just take the ROM image as is.
> 
> It is a flash image, we could use an Open Power machine flash image "as-is"
> provided we taught qemu to extract skiboot (aka OPAL) from it.

That's probably the best way. If it's memory mapped, you might not even have to 
extract anything - just jump to its location ;).

The -kernel syntax is useful to have, but should really be something "on top" 
of the normal system boot rather than its primary boot interface.


Alex


Reply via email to