qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1208944] [NEW] -kernel option broken for some multiboo


From: Martijn van den Broek
Subject: [Qemu-devel] [Bug 1208944] [NEW] -kernel option broken for some multiboot kernels
Date: Tue, 06 Aug 2013 18:01:12 -0000

Public bug reported:

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
d60fa42e8bae39440f997ebfe8fe328269a57d16 'Save memory allocation in the
elf loader' and affects QEMU v1.5.0 and later.

I'll send a patch for this bug to qemu-devel.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1208944

Title:
  -kernel option broken for some multiboot kernels

Status in QEMU:
  New

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
  d60fa42e8bae39440f997ebfe8fe328269a57d16 'Save memory allocation in
  the elf loader' and affects QEMU v1.5.0 and later.

  I'll send a patch for this bug to qemu-devel.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1208944/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]