Fix -kernel with SeaBIOS v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 26 repliesIn review
v1 -> v2 from the cover letter
- rename copy_rom -> rom_copy
- introduce fw_cfg compat loader for loadvm
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Make fw_cfg interface 32-bit awarehw/ hw/ | +25 | 4 replies | |
| 2/6 | Introduce rom_romhw/ hw/ | +39 | 0 replies | |
| 3/6 | Convert multiboot to fw_cfg backed data storagehw/ hw/ pc-bios/ | +94 | 0 replies | |
| 4/6 | Move common option rom code to header filepc-bios/ pc-bios/ | +110 | 0 replies | |
| 5/6 | Convert linux bootrom to external rom and fw_cfghw/ hw/ pc-bios/ +1 more | +172 | 5 replies | |
| 6/6 | Add linuxboot to BLOBSMakefile | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/6] Fix -kernel with SeaBIOS v2
SeaBIOS clears RAM between we write our -kernel image to RAM and the int19 handler gets triggered.
So in order to work around that, I sat down and implemented Avi's suggestion of "downloading" all blobs in runtime from the fw_cfg interface
Thanks to glommer who talked me into doing it ;-).
v1 -> v2:
- rename copy_rom -> rom_copy
- introduce fw_cfg compat loader for loadvm
Alexander Graf (6):
Make fw_cfg interface 32-bit aware Introduce rom_rom
Convert multiboot to fw_cfg backed data storage Move common option rom code to header file Convert linux bootrom to external rom and fw_cfg Add linuxboot to BLOBS
Makefile | 2 +- hw/fw_cfg.c | 30 ++++++-- hw/fw_cfg.h | 13 +++- hw/loader.c | 38 +++++++++ hw/loader.h | 1 + hw/pc.c | 169 +++++++++++++---------------------------- pc-bios/optionrom/Makefile | 2 +- pc-bios/optionrom/linuxboot.S | 140 ++++++++++++++++++++++++++++++++++ pc-bios/optionrom/multiboot.S | 108 ++++++++++----------------- pc-bios/optionrom/optionrom.h | 107 ++++++++++++++++++++++++++ 10 files changed, 416 insertions(+), 194 deletions(-) create mode 100644 pc-bios/optionrom/linuxboot.S create mode 100644 pc-bios/optionrom/optionrom.h