Add QEMU support for extboot
commit0e8665f72e3f071e578db11843448d4c4ecc2d1f
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Jan 2008 15:11:38 +0000 (3 09:11 -0600)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 Jan 2008 15:32:03 +0000 (3 17:32 +0200)
tree45e96901a24b8692bb93033f6b0658d6a0e492cf
parent6dfc0cac2d773e7eb213374c8ea97b816b45d4e2
Add QEMU support for extboot

This patch adds support to QEMU for extboot.  It requires that an extboot.bin
binary be copied into the pc-bios directory or else make install will not
function properly.

To use extboot to boot from an arbitrary block device, simply append a
",boot=on" to the block device to boot from.  For instance, to boot from a SCSI
disk, one would use:

 -drive file=/path/to/image.img,if=scsi,boot=on

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Makefile
Makefile.target
hw/extboot.c [new file with mode: 0644]
hw/pc.c
hw/pc.h
sysemu.h
vl.c