From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e74mm-0005o5-Cd for qemu-devel@nongnu.org; Tue, 24 Oct 2017 15:22:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e74ml-0008PT-CC for qemu-devel@nongnu.org; Tue, 24 Oct 2017 15:22:48 -0400 Received: from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]:48665) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e74ml-0008Ob-5c for qemu-devel@nongnu.org; Tue, 24 Oct 2017 15:22:47 -0400 Received: by mail-pg0-x232.google.com with SMTP id v78so15302416pgb.5 for ; Tue, 24 Oct 2017 12:22:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20171024115032.GA18756@stefanha-x1.localdomain> References: <20171024115032.GA18756@stefanha-x1.localdomain> From: Deema B Date: Tue, 24 Oct 2017 12:22:45 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] Command line option "-option-rom" doesn't take the ROM file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org Thank you, Stefan! That worked. Sorry for the double email, I'm learning quickly :) On Tue, Oct 24, 2017 at 4:50 AM, Stefan Hajnoczi wrote: > On Mon, Oct 23, 2017 at 02:22:05PM -0700, Deema B wrote: > > I'm trying to use the -option-rom option to supply my own virtio OpROM. > > > > I am not able to see the ROM being launch (the built-in version comes up > > instead). > > The only way I am able to make it work is to rebuild the Qemu and iPXE > > together. > > > > I'm assuming this is working feature, and I'm simply doing something > wrong. > > Appreciate any suggestions, pointers, and to hear your experience with > this > > particular option. > > Hi Deema, > You can specify the option ROM on a per-device basis: > > -device virtio-net-pci,romfile=my-ipxe.rom,... > > The advantage of this approach is that there is no conflict between the > global -option-rom file and the default file loaded by the NIC device. > > Stefan >