I got qemu with vde working as follows.  I built the qemu-kvm from quantal
with the attached qemu-vde.debdiff applied.  Then set up the qemu vde nic
and started qemu as follows:

cat >> /etc/network/interfaces << EOF
auto qemutap
  iface qemutap inet static
  address 10.0.5.1
  netmask 255.255.255.0
  vde2-switch -
EOF

ifup qemutap

dnsmasq --strict-order --bind-interfaces --pid-
file=/var/run/qemutap.dnsmasq.pid --conf-file= --listen-address 10.0.5.1
--dhcp-range 10.0.5.2,10.0.5.254 --dhcp-lease-max=253 --dhcp-no-override
--except-interface=lo --interface=qemutap

iptables -A POSTROUTING -s 10.0.5.0/24 -t nat -j MASQUERADE

cat >> /etc/dnsmasq.d/qemu << EOF
bind-interfaces
except-interface=qemutap
EOF
restart dnsmasq

kvm -net nic -net vde,sock=/var/run/vde2/qemutap.ctl -m 1024 -hda x.img
-cdrom ubuntu-12.04-alternate-amd64.iso -vnc :1

So perhaps a qemu-vde package should set up a qemuvdetap network as
above.

** Patch added: "qemu-vde.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/vde2/+bug/253230/+attachment/3235394/+files/qemu-vde.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/253230

Title:
  qemu-kvm should Build-Depends on libvdeplug2-dev (KVM vde2 support not
  working)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/253230/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to