Laurent Vivier wrote:
Le mardi 08 juillet 2008 à 09:59 -0500, Anthony Liguori a écrit :
Laurent Vivier wrote:
So, "boot=on" means in fact "bootable=true"
I guess. I don't know that the later is more clear. I think the source of the confusion is the entire concept of "first bootable harddisk" which is what -boot c really means.

FWIW, the reason media=cdrom,boot=on doesn't work, is that a CDROM's boot record is in el torito format instead of the traditional BIOS boot sector.

media=cdrom,boot=on would work if the image was a disk image instead of an ISO.

In fact, I'm inclined to think that media=cdrom,boot=on should not be explicitly prohibited because of this fact.

To simplify, I think qemu should ignore "boot=on" when "if=ide".

It's necessary to boot from anything other than hda.  For instance:

qemu-system-x86_64 -hda foo.img -drive file=boo.img,if=ide,boot=on -boot c

Regards,

Anthony Liguori

Laurent

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to