On 08/04/2010 11:30 AM, Avi Kivity wrote:
On 08/04/2010 04:52 PM, Anthony Liguori wrote:
This is not like DMA event if done in chunks and chunks can be pretty
big. The code that dials with copying may temporary unmap some pci
devices to have more space there.
That's a bit complicated because SeaBIOS is managing the PCI devices
whereas the kernel code is running as an option rom. I don't know
the BIOS PCI interfaces well so I don't know how doable this is.
Maybe we're just being too fancy here.
We could rewrite -kernel/-append/-initrd to just generate a floppy
image in RAM, and just boot from floppy.
How could this work? the RAM belongs to SeaBIOS immediately after
reset, it would just scribble over it. Or worse, not scribble on it
until some date in the future.
I mean host RAM, not guest RAM.
Regards,
Anthony Liguori
-kernel data has to find its way to memory after the bios gives
control to some optionrom. An alternative would be to embed knowledge
of -kernel in seabios, but I don't think it's a good one.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html