On 09/20/2018 04:52 AM, Frank Wang
wrote:
From IRC, here is the <interface> you posted: <interface type="bridge"> <mac address="00:16:3e:73:30:07"/> <source bridge="managevSwitch"/> <vlan> <tag id="0"/> </vlan> <virtualport type="openvswitch"> <parameters interfaceid="8a344c7762a32b2d0162db9d09f42efa"/> </virtualport> <target dev="vnfa3b798b1"/> <model type="virtio"/> <address type="pci" domain="0x0000" bus="0x0" function="0x0" slot="0x11"/> </interface> If you are creating a qemu/kvm virtual machine, the above interface config will *always* get you a tap device, and if you are creating an LXC virtual machine it will always get you a veth device. This is a necessity of the way the two technologies expose the network device in the guest; if you are getting a veth device for use with qemu/kvm, or a tap device for use with LXC, then there is something going on that I don't understand. |
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list