qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/3] qtest: enable qtest for most targets


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 2/3] qtest: enable qtest for most targets
Date: Wed, 18 Apr 2012 09:36:53 +0100

On 17 April 2012 22:33, Anthony Liguori <address@hidden> wrote:
> Kernel loading is a hack.  I'll go out on a limb and say that most non-x86
> boards are doing it completely wrong.  Messing around with CPU state has no
> business in machine init.  It creates horrible dependencies about RAM
> initialization order and problems for reset/live migration.
>
> The kernel should be presented as a virtual device (an emulated flash or
> whatever) and there should be firmware that loads the kernel appropriately.
> Then we wouldn't need changes like this in the first place.

Yeah, I tend to agree that that would be a cleaner approach, but so far
it hasn't been a requirement. Feel free to submit patches to fix kernel
loading for these boards if you want to be able to rely on this behaviour :-)

-- PMM



reply via email to

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