|
From: | Alexander Graf |
Subject: | Re: [Qemu-devel] [RFC PATCH] arm boot: added QOM device definition |
Date: | Wed, 8 Feb 2012 14:35:55 +0100 |
On 08.02.2012, at 14:30, Peter Crosthwaite wrote:
If you want the smallest diff, just make things globals and call it a day. This whole thing is a discussion around device architecture, right?
Hrm. I wouldn't want to have to select different bootloader types using -device. Today, we have autodetect code in almost all targets that checks the binary and figures out what to load from it. So on x86 you just do -kernel foo and if foo is a Linux kernel, it will run it using that loader, while if it's a multiboot image, it will load it through that. Any reason you can't just upstream your specific bootloader code? We can then worry about replacing the loader device at a different point in time and model things easily now. Alex |
[Prev in Thread] | Current Thread | [Next in Thread] |