qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Need a way disable gPXE boot
@ 2009-11-18 18:11 Theodore Ts'o
  2009-11-18 19:53 ` Anthony Liguori
  2009-11-18 20:19 ` [Qemu-devel] " Sebastian Herbszt
  0 siblings, 2 replies; 9+ messages in thread
From: Theodore Ts'o @ 2009-11-18 18:11 UTC (permalink / raw)
  To: qemu-devel, kvm-devel

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?

Thanks,

						- Ted

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-03-10 10:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 18:11 [Qemu-devel] Need a way disable gPXE boot Theodore Ts'o
2009-11-18 19:53 ` Anthony Liguori
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

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).