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