[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE
From: |
Gerhard Wiesinger |
Subject: |
Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE |
Date: |
Sat, 7 Jan 2012 23:59:38 +0100 (CET) |
User-agent: |
Alpine 2.02 (LFD 1266 2009-07-14) |
On Sat, 7 Jan 2012, Gerhard Wiesinger wrote:
No NIC:
-net none
=> No iPXE ROM (correct).
but with the previously listed config no iPXE ROM should be there. Saw this
is done through paravirtualization from Seabios/QEMU or KVM. So there
must be a bug with the empty romfile options with net or device (I guess) in
QEMU/KVM.
I think I found the bug:
pcnet-pci.c
static int pci_pcnet_init(PCIDevice *pci_dev)
{
...
if (!pci_dev->qdev.hotplugged) {
static int loaded = 0;
if (!loaded) {
rom_add_option("pxe-pcnet.rom", -1);
loaded = 1;
}
}
Option rom is added unconditionally regardless of command line options
due to hot plug feature ...
grep -ir rom_add_option .
./ne2000.c: rom_add_option("pxe-ne2k_pci.rom", -1);
NE2000 also has the same problem.
RTL8139 and all others are done through romfile which are working
correct:
./rtl8139.c: .romfile = "pxe-rtl8139.rom",
Ciao,
Gerhard
--
http://www.wiesinger.com/
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, (continued)
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/08
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Kevin O'Connor, 2012/01/08
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/08
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Kevin O'Connor, 2012/01/08
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerd Hoffmann, 2012/01/09
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/07
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Kevin O'Connor, 2012/01/07
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/07
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE,
Gerhard Wiesinger <=
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/08
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerd Hoffmann, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerd Hoffmann, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerd Hoffmann, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/05