qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] Make -kernel flag optional on ARM.


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2] Make -kernel flag optional on ARM.
Date: Fri, 30 Aug 2013 14:29:39 +0100

On 30 August 2013 14:12, Andreas Färber <address@hidden> wrote:
> Hi,
>
> Am 30.08.2013 12:58, schrieb Grant Likely:
>> Hi Peter,
>>
>> What's the status on this patch? Is it able to be merged?

I had a variant on it I'd already written, plus a second patch
that cleans up some places that no longer need to make calls
to arm_load_kernel() be conditional on kernel_filename not
being NULL, but I'm afraid I didn't get to sending it out before
1.6 freeze and I forgot about it in the interim.

Also I couldn't decide what I thought about the way that boards
end up with not warning if the user doesn't specify -kernel or
provide a boot rom image somehow. I'd like to be user friendly
but it doesn't seem right that every board init function ends up
having to have similar boilerplate either.

> I had posted a slightly different patch earlier that just returned
> immediately when qtest_enabled(). If we go with yours, we might be able
> to drop mine, have you checked on that?
>
> As for your patch I wonder, isn't there anything else to do in the
> kernel_filename==NULL case?

Nope, that's it. In that case we'll just do what the hardware
does, ie all CPUs start executing at the reset vector address
(zero). The assumption is the boot firmware deals with that,
as it has to for h/w.

-- PMM



reply via email to

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