qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Two NICs with legacy -net


From: Thomas Huth
Subject: Re: [Qemu-discuss] Two NICs with legacy -net
Date: Thu, 18 May 2017 19:32:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

 Hi,

On 18.05.2017 18:58, Narcis Garcia wrote:
> Okay, I see that vlan=n is required to relate each tap to each nic.
> But when I add more than 8 NICs, qemu fails with:
> 
> qemu-system-x86_64: -net
> nic,vlan=8,macaddr=00:16:3E:F9:82:53,model=virtio: Too Many NICs
> qemu-system-x86_64: -net
> nic,vlan=8,macaddr=00:16:3E:F9:82:53,model=virtio: Device 'nic' could
> not be initialized
> 
> Is it possible to configure MAX_NICS without having to recompile Qemu?
> I'm using Qemu 2.0.0

1) Use a newer version of QEMU. Version 2.0 is not supported anymore.

2) Use "-device virtio-net ... -netdev tap ..." instead of "-net". As
you wrote in the subject already, "-net" is a legacy option and thus
will not support more than 8 devices.

 Thomas



reply via email to

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