|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 2/4] Expose fw_cfg |
Date: | Wed, 17 Jun 2009 10:59:13 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Alexander Graf wrote:
On 17.06.2009, at 17:30, Blue Swirl wrote:On 6/17/09, Alexander Graf <address@hidden> wrote:Multiboot passes options to the option rom using the fw_cfg device. Right now, that device is local to the bochs_bios_init function. Let's change that and expose it to env, so everyone may put data in there.Env is a wrong place for device data.So what is the right place? Last time I checked there wasn't anything like a global pc machine state struct, but I could be wrong.
Return fw_cfg from bochs_bios_init, then pass it to the kernel loading functions.
Regards, Anthony Liguori
Alex
[Prev in Thread] | Current Thread | [Next in Thread] |