From: Anthony Liguori <anthony@codemonkey.ws>
To: Theodore Ts'o <tytso@mit.edu>
Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Need a way disable gPXE boot
Date: Wed, 18 Nov 2009 13:53:42 -0600 [thread overview]
Message-ID: <4B0450C6.2040208@codemonkey.ws> (raw)
In-Reply-To: <E1NAp08-0004pq-EP@closure.thunk.org>
Hi Ted,
Theodore Ts'o wrote:
> I recently updated to the latest qemu-kvm git tree (commit c04b2ae) and
> I ran into the following problem. I want to do a direct Linux boot for
> some of my testing work, using the -kernel option. Apparently the the
> gPXE boot code corrupts something in memory or other CPU state which
> causes the loaded kernel to hang after the gPXE code gives up. I can
> suppress this using -net none, but of course then I don't have any
> networking access.
>
> I was ultimately able to work around the solution by deleting the
> /usr/local/share/qemu/pxe-*.bin files, but that's a bit of a botch. It
> would be nice if there was a way to disable the gPXE boot option roms;
> if you know you are booting off of a passed in hard drive image or
> passed in a kernel for a direct boot, there's no reason why we might
> want to do a gPXE boot.
>
> It would be nice if there was a way to disable option roms automatically
> if -kernel is specified, or if -boot order doesn't include 'n', or
> perhaps with an explicit option to suppress all boot option roms (or all
> networking options).
>
> What sort of approach would be considered acceptable? Did I miss
> some way of making the right thing happen other than deleting the
> installed pxe-*.bin files?
>
We just did a flag day and switched our PXE rom and BIOS. We've
encountered a few regressions and we're quickly fixing them.
Alex Graf has already fixed the problem you describe above properly and
I've merged that into upstream qemu. It will take a little bit of time
for Avi and/or Marcelo to sync those changes into qemu-kvm.
For now, using '-bios pcbios.bin' should be a reasonable work around.
Regards,
Anthony Liguori
next prev parent reply other threads:[~2009-11-18 19:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 18:11 [Qemu-devel] Need a way disable gPXE boot Theodore Ts'o
2009-11-18 19:53 ` Anthony Liguori [this message]
2009-11-18 22:37 ` tytso
2009-11-18 20:19 ` [Qemu-devel] " Sebastian Herbszt
2010-03-09 14:11 ` Richard W.M. Jones
2010-03-10 2:03 ` Kevin O'Connor
2010-03-10 9:51 ` Richard W.M. Jones
2010-03-10 3:35 ` Anthony Liguori
2010-03-10 10:00 ` Richard W.M. Jones
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=4B0450C6.2040208@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=kvm-devel@lists.sourceforge.net \
--cc=qemu-devel@nongnu.org \
--cc=tytso@mit.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.