From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjfJO-00078B-NS for qemu-devel@nongnu.org; Sat, 07 Jan 2012 18:04:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjfJN-000576-Ko for qemu-devel@nongnu.org; Sat, 07 Jan 2012 18:04:30 -0500 Received: from chello084112167138.7.11.vie.surfer.at ([84.112.167.138]:51244 helo=wiesinger.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjfJN-00056u-B6 for qemu-devel@nongnu.org; Sat, 07 Jan 2012 18:04:29 -0500 Date: Sat, 7 Jan 2012 23:59:38 +0100 (CET) From: Gerhard Wiesinger In-Reply-To: Message-ID: References: <4F055827.50202@redhat.com> <20120105083239.GR2072@redhat.com> <20120105092037.GA31206@redhat.com> <20120106020539.GB25140@morn.localdomain> <20120107162035.GA8762@morn.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: Gerd Hoffmann , Gleb Natapov , qemu-devel@nongnu.org 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/