[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: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE |
Date: |
Thu, 05 Jan 2012 10:53:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111104 Red Hat/3.1.16-2.el6_1 Thunderbird/3.1.16 |
On 01/05/12 10:24, Gerhard Wiesinger wrote:
> On Thu, 5 Jan 2012, Gerd Hoffmann wrote:
>> Hi,
>>
>>>> Better use a empty string as romfile argument, that will make the ROM
>>>> pci bar go away instead of creating one with an invalid rom.
>>>
>>> Thnx. Works well by specifying no romfile, that's the trick. I had the
>>> problem than otherwise devices were created. But I'm still getting the
>>> following iPXE rom message:
>>> iPXE v1.0.0-591-g7aee315
>>> iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+0FFCA670+0FF8A670
>>> CA00
>>>
>>> How to disable it, too?
>>
>> It shouldn't be there. I guess you've trapped into automagic device
>> creation logic in qemu. When neither -net nor -netdev is specified on
>> the command line qemu creates a default network setup for you, which
>> includes a nic, and that probably is the rom of the automagically
>> created nic.
>>
>> Try "qemu -netdev user,id=mynet -device rtl8139,romfile=,netdev=mynet",
>> then it should work as expected.
>
> Old command line (relevant parameters):
> -net nic,model=rtl8139,macaddr=1a:46:0b:ca:bc:7c,vlan=0
creates a nic (with rom).
> -net tap,ifname=tap0,script=no,downscript=no,vlan=0
creates a tap device
> -device rtl8139,romfile=
creates a nic too (without rom), so you have two rtl8139 devices now ...
You probably want this:
-net tap,ifname=tap0,script=no,downscript=no,vlan=0
-device rtl8139,romfile=,macaddr=1a:46:0b:ca:bc:7c,vlan=0
Or when using netdevs instead of vlans:
-netdev tap,ifname=tap0,script=no,downscript=no,id=net0
-device rtl8139,romfile=,macaddr=1a:46:0b:ca:bc:7c,netdev=net0
Likewise for the second nic, just with vlan=1 (or a different name for
the netdev).
HTH,
Gerd
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, (continued)
- 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, 2012/01/07
- 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 <=
- 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