qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1776486] [NEW] detect error when kernel and initrd ima


From: Jonathan Marler
Subject: [Qemu-devel] [Bug 1776486] [NEW] detect error when kernel and initrd images exceed ram size
Date: Tue, 12 Jun 2018 13:29:16 -0000

Public bug reported:

I was unable to figure out why my VM wasn't booting when I added a
"-initrd" image.  I would launch qemu and get no output, and no error
message, it would just spin.

Turns out my initrd image was around 270 MB but I wasn't giving an
explicit ram size to qemu.  I was told the default memory size was
around 120 MB so this was definitely a problem.  I think that the qemu
"pseudo-bootloader" should detect when the kernel image and initrd image
sizes exceed the size of ram and print a nice error to the user,
something like:

Error: the total size of the given boot images (342M) exceeds the size
allocated for memory (120M)

** Affects: qemu
     Importance: Undecided
         Status: Confirmed


** Tags: arm

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

Title:
  detect error when kernel and initrd images exceed ram size

Status in QEMU:
  Confirmed

Bug description:
  I was unable to figure out why my VM wasn't booting when I added a
  "-initrd" image.  I would launch qemu and get no output, and no error
  message, it would just spin.

  Turns out my initrd image was around 270 MB but I wasn't giving an
  explicit ram size to qemu.  I was told the default memory size was
  around 120 MB so this was definitely a problem.  I think that the qemu
  "pseudo-bootloader" should detect when the kernel image and initrd
  image sizes exceed the size of ram and print a nice error to the user,
  something like:

  Error: the total size of the given boot images (342M) exceeds the size
  allocated for memory (120M)

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



reply via email to

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