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: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2/3] qtest: enable qtest for most targets
Date: Wed, 18 Apr 2012 07:09:51 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

On 04/18/2012 03:36 AM, Peter Maydell wrote:
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 :-)

Well hopefully now we can agree that what Blue had to do with qtest isn't so 
bad :-)

Regards,

Anthony Liguori


-- PMM





reply via email to

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