From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAr1B-0002mN-M3 for qemu-devel@nongnu.org; Wed, 18 Nov 2009 15:20:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAr17-0002ke-8b for qemu-devel@nongnu.org; Wed, 18 Nov 2009 15:20:45 -0500 Received: from [199.232.76.173] (port=39784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAr17-0002kb-6p for qemu-devel@nongnu.org; Wed, 18 Nov 2009 15:20:41 -0500 Received: from mail.gmx.net ([213.165.64.20]:54059) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NAr16-0003XF-Mv for qemu-devel@nongnu.org; Wed, 18 Nov 2009 15:20:41 -0500 Message-ID: From: "Sebastian Herbszt" References: In-Reply-To: Date: Wed, 18 Nov 2009 21:19:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Need a way disable gPXE boot List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Theodore Ts'o , qemu-devel@nongnu.org, kvm-devel@lists.sourceforge.net Theodore Ts'o wrote: [snip] > 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? I would suggest dropping the auto nic option rom loading and extend "-net" with a rom option like "-net nic,model=e1000,rom=pxe-e1000.bin". - Sebastian