qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Lukasz Janyst <1811888@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1811888] Re: Qemu refuses to multiboot Elf64 kernels
Date: Thu, 22 Apr 2021 05:38:11 -0000	[thread overview]
Message-ID: <161906989239.32560.18181250250588122617.launchpad@soybean.canonical.com> (raw)
In-Reply-To: 154758033350.20612.10612778559248871550.malonedeb@soybean.canonical.com

** Changed in: qemu
       Status: Incomplete => 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/1811888

Title:
  Qemu refuses to multiboot Elf64 kernels

Status in QEMU:
  New

Bug description:
  Qemu does not multiboot Elf64 bit kernels when emulating x86_64
  systems. This is unfortunate because it renders the `-kernel` option
  quite useless. It's true that a multiboot compatible bootloader puts
  you in protected mode by default, and you have to set up the long mode
  yourself. While it is easy to put such 32-bit bootstrap code in a 64
  bit binary, it is not possible to compile a 64 bit kernel into a 32
  bit binary.

  After quick search, it turned out that loading 64 bit elf binaries has
  been disabled to be compatible with GRUB. However, since that time,
  both GRUB and Syslinux load 64 bit ELF kernels just fine, which makes
  qemu incompatible with them. Furthermore, it seems that this feature
  does and has always worked fine and that people have since submitted
  patches to re-enable it.

  https://patchwork.ozlabs.org/patch/62142/
  https://patchwork.kernel.org/patch/9770523/

  Please consider applying the attached patch.

  Best Regards,
  Lukasz Janyst

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


  parent reply	other threads:[~2021-04-22  5:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-15 19:25 [Qemu-devel] [Bug 1811888] [NEW] Qemu refuses to multiboot Elf64 kernels Lukasz Janyst
2021-04-20  8:04 ` [Bug 1811888] " Thomas Huth
2021-04-22  4:11 ` Thomas Huth
2021-04-22  5:38 ` Lukasz Janyst [this message]
2021-05-09 16:11 ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=161906989239.32560.18181250250588122617.launchpad@soybean.canonical.com \
    --to=1811888@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).