Le 9 févr. 09 à 19:44, Lennart Sorensen a écrit :
On Mon, Feb 09, 2009 at 07:11:26PM +0100, Laurent
I think you don't have to do this from
qemu/main.c but from modules/
In m acparts_open(), if partnum is missing, you have to search for a
I thought qemu/main.c was in charge of doing the boot selection.
misunderstood something there? I am finding no way to get mac
partition data from qemu/main.c though.
Looking at macparts_open, it dpes appear one can pass in a partition
open, but I don't see how that has anything to do with making it
a partition to boot from, or even doing this boot.
"boot hd:%BOOT" should boot from the first bootable partition by
loading the boot sector, given by pmLgBootStart. (see specification I
After all I want to detect a mac partition table,
check if it has a
bootable partition flagged, and then check the boot parameters of that
partition, and load the specified boot code and execute it if
just can't quite tell yet if qemu/main.c is in charge of looking at
partitions and deciding what to boot, or if the act of doing an open
the hd is what should cause booting to happen.
Perhaps you should also look at "load" command.