-kernel option broken for some multiboot kernels
Bug #1208944 reported by
Martijn van den Broek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using the -kernel option QEMU fails with "Error while fetching elf kernel from rom" when the ELF file contains a segment with a file size of 0. This is typical for segments containing only a .bss section.
rom_copy (hw/core/loader.c) fails to load roms (elf segments in this case) with a datasize of 0 - it skips the rom because rom->data is NULL. This bug is introduced by commit d60fa42e8bae394
I'll send a patch for this bug to qemu-devel.
Changed in qemu: | |
status: | New → Fix Committed |
Changed in qemu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch sent to qemu-devel.