Description of problem:
There is currently no support for VDE2 networked machines.
Eg, when running:
virsh domxml-from-native qemu-argv run.argc
with a run.argc file containing:
kvm -nographic -m 1024 -hda /path/to/img.qcow2 \
-net nic,vlan=0,model=rtl8139,macaddr=52:54:16:32:43:21 \
the second -net lines gets silently dropped from the generated XML file.
I'm sure this is not the only aspect of VDE networking that isn't supported.
Created attachment 627200 [details]
Patch adding vde support to libvirt (against 0.10.2)
This basicallay forward ports the patch origanally posted
A followup message to that suggested that this would be better handled by using vde to handle the network definition for user virtual machines. While I think that is also worthwhile, I think this is also beneficial. For example, a priveledged user could create a vde_switch with access to the outside world, and allow users in a given group to create virtual machines that connect to that switch.
Created attachment 627212 [details]
Corresponding patch to virtinst-0.600.3
vde seems quite dead upstream these days. and given that there's been lots of work put in to making libvirt support openvswitch, there's already an alternative there. so I don't think it makes sense to explicitly track this anymore. closing