qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] ne2k_isa: how to specify a custom iobase and irq?


From: Anthony Liguori
Subject: Re: [Qemu-devel] ne2k_isa: how to specify a custom iobase and irq?
Date: Fri, 18 Dec 2009 17:23:44 -0600
User-agent: Thunderbird 2.0.0.23 (X11/20090825)

Sebastian Herbszt wrote:
Actually you have to else networking doesn't work at all. Without specifying "vlan" with the "-device" syntax you end up with vlan=<null> and not vlan=0
with "info qtree".

-netdev type=tap,id=mynic -device ne2k_isa,irq=5,iobase=0x280,id=mynic

One of the changes in 0.12 allows for a network configuration that does not have the builtin hub (aka vlans). This is really important for a number of reasons. The main is that it allows for much more aggressive optimization without having to teach the vlan code how to deal with things like software GSO.

That might look awkward, but that's because it's designed to be used from a config file. The config entry for that is:

 [device "mynic"]
   driver = "ne2k_isa"
   irq = "5"
   iobase = "0x280"

 [netdev "mynic"]
   type = "tap"

Which looks pretty nice IMHO.

Regards,

Anthony Liguori




reply via email to

[Prev in Thread] Current Thread [Next in Thread]