Received: from eggs.gnu.org ([140.186.70.92]:48598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROYB2-00074V-UA for qemu-devel@nongnu.org; Thu, 10 Nov 2011 12:12:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROYB0-0007iA-IC for qemu-devel@nongnu.org; Thu, 10 Nov 2011 12:12:36 -0500 Received: from mtv-iport-4.cisco.com ([173.36.130.15]:53052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROYB0-0007hr-9J for qemu-devel@nongnu.org; Thu, 10 Nov 2011 12:12:34 -0500 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by mtv-core-1.cisco.com (8.14.3/8.14.3) with ESMTP id pAAHCWtG001842 for ; Thu, 10 Nov 2011 17:12:32 GMT Date: Thu, 10 Nov 2011 09:12:27 -0800 From: srinivasan Sundararajan Message-ID: Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3403761147_1832360" Subject: [Qemu-devel] Issue Using netdev or vlan with qemu 15. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3403761147_1832360 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Trying the following and can=B9t seem to make it work ? This is with qemu-kv= m 15 . What am I doing wrong here ? I get this id1 not found error. qemu-system-x86_64 \ -enable-kvm -cpu qemu64,+vmx -boot c -m 16000M \ -drive file=3Dmy.disk,if=3Dvirtio \ -netdev user,id=3Did0 -device virtio-net-pci,netdev=3Did0,id=3Dmyid0 \ -netdev socket,listen=3D:12345,id=3Did1 -device virtio-net-pci,netdev=3Did1,id=3Dmyid1 \ -monitor telnet:127.0.0.1:65012,server,nowait,nodelay \ -nographic=20 qemu-system-x86_64: -device virtio-net-pci,netdev=3Did1,id=3Dmyid1: Property 'virtio-net-pci.netdev' can't find value 'id1' If I modify the above to qemu-system-x86_64 \ -enable-kvm -cpu qemu64,+vmx -boot c -m 16000M \ -drive file=3Dmy.disk,if=3Dvirtio \ -net nic,vlan=3D0,model=3Dvirtio -net user,vlan=3D0 \ -net nic,vlan=3D1,model=3Dvirtio -net socket,vlan=3D1,listen=3D:12345 \ -monitor telnet:127.0.0.1:65012,server,nowait,nodelay \ -nographic=20 Warning: vlan 1 is not connected to host network Whats the correct syntax in both formats ? Many thanks Srini --B_3403761147_1832360 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Issue Using netdev or vlan with  qemu 15.
Trying the following and can’t seem to make it work ?  This is w= ith qemu-kvm 15 .  What am I doing wrong here ? I get this id1 not foun= d error.  

qemu-system-x86_64 \
-enable-kvm  -cpu qemu64,+vmx -boot c -m 16000M \
-drive file=3Dmy.disk,if=3Dvirtio \
-netdev user,id=3Did0 -device virtio-net-pci,netdev=3Did0,id=3Dmyid0 \
-netdev socket,listen=3D:12345,id=3Did1 -device virtio-net-pci,netdev=3Did1,id=3Dmy= id1 \
-monitor telnet:127.= 0.0.1:65012,server,nowait,nodelay \
-nographic

qemu-system-x86_64: -device virtio-net-pci,netdev=3Did1,id=3Dmyid1: Property 'v= irtio-net-pci.netdev' can't find value 'id1'


If I modify the above to

qemu-system-x86_64 \
-enable-kvm  -cpu qemu64,+vmx -boot c -m 16000M \
-drive file=3Dmy.disk,if=3Dvirtio \
-net nic,vlan=3D0,model=3Dvirtio  -net user,vlan=3D0 \
-net nic,vlan=3D1,model=3Dvirtio  -net socket,vlan=3D1,listen=3D:12345 \
-monitor telnet:127.= 0.0.1:65012,server,nowait,nodelay \
-nographic

Warning: vlan 1 is not connected to host network

Whats the correct syntax in both formats ?  
Many thanks
Srini
--B_3403761147_1832360--