diff options
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-08 16:27:07 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-08 16:27:07 +0000
commit4fc9af53d88c0a2a810704a06cb39a7182982e4e (patch)
treed9ab5efe3c67a3be6d1227c9b9818438211ab169 /block_int.h
parenttarget-alpha: fix the return value of stl_c/stq_c (diff)
Use an option rom instead of boot sector for -kernel
Generate an option rom instead of using a hijacked boot sector for kernel booting. This just requires adding a small option ROM header and a few more instructions to the boot sector to take over the int19 vector and run our boot code. A disk is no longer needed when using -kernel on x86. Signed-off-by: Anthony Liguori <> git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block_int.h')
1 files changed, 0 insertions, 3 deletions
diff --git a/block_int.h b/block_int.h
index 7f1a51406..e83fd2c07 100644
--- a/block_int.h
+++ b/block_int.h
@@ -104,9 +104,6 @@ struct BlockDriverState {
BlockDriver *drv; /* NULL means no media */
void *opaque;
- int boot_sector_enabled;
- uint8_t boot_sector_data[512];
char filename[1024];
char backing_file[1024]; /* if non zero, the image is a diff of
this file image */