qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Issue Using netdev or vlan with qemu 15.


From: srinivasan Sundararajan
Subject: [Qemu-devel] Issue Using netdev or vlan with qemu 15.
Date: Thu, 10 Nov 2011 09:12:27 -0800
User-agent: Microsoft-Entourage/12.31.0.110725


Trying the following and can’t seem to make it work ?  This is with qemu-kvm 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=my.disk,if=virtio \
-netdev user,id=id0 -device virtio-net-pci,netdev=id0,id=myid0 \
-netdev socket,listen=:12345,id=id1 -device virtio-net-pci,netdev=id1,id=myid1 \
-monitor telnet:127.0.0.1:65012,server,nowait,nodelay \
-nographic

qemu-system-x86_64: -device virtio-net-pci,netdev=id1,id=myid1: 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=my.disk,if=virtio \
-net nic,vlan=0,model=virtio  -net user,vlan=0 \
-net nic,vlan=1,model=virtio  -net socket,vlan=1,listen=: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

reply via email to

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