Description of problem: Cannot start domains with virtio driver defined using libvirtd version 1.2.9 With error message below: Unable to complete install: 'unsupported flags (0x1) in function virNetDevMacVLanCreateWithVPortProfile' Version-Release number of selected component (if applicable): # libvirtd --version libvirtd (libvirt) 1.2.9 How reproducible: To start any virtual machine using virtio driver, I.e selected from virt-manager network devices drop-down list. Steps to Reproduce: 1. create virtual machine (domain) with network device using virtio driver 2. virsh start <domain> Actual results: Unable to complete install: 'unsupported flags (0x1) in function virNetDevMacVLanCreateWithVPortProfile' Expected results: Domain running Additional info: the bug comes out from gplhost openstack juno repository after libvirt 1.2.8 version was changed to 1.2.9
That libvirt was compiled without macvtap support. I have sent an upstream patch which should result in a better error message: https://www.redhat.com/archives/libvir-list/2015-January/msg01041.html
Thank you. I will try patch given. However error message comes out with binary libvirtd from gplhost repository. Was it built without macvtap? And other drivers from virt-manager list are working with macvtap but virtio.
The fix for the error message has been pushed upstream: commit 08d1ae16d6d7264d5597fea61a87a9a3340cd43d CommitDate: 2015-01-29 10:06:56 +0100 Remove flag checking in MacVLanCreate helper stub When compiling without WITH_MACVTAP, we can get: 'unsupported flags (0x1) in function virNetDevMacVLanCreateWithVPortProfile' on an attempt to start a domain. Remove the flag check to reach the more helpful error: Cannot create macvlan devices on this platform https://bugzilla.redhat.com/show_bug.cgi?id=1186928 git describe: v1.2.12-40-g08d1ae1 This has no effect on functionality, there's no reason to try the patch. The fix is to rebuild libvirt --with-macvtap
This works for me. But 1st it means version in juno repository is compiled without macvtap. 2nd, in virt-manager 0.9.1 macvtap is missed after reinstallation of daemon. I do not care because it works as "source device Direct " , device model "virtio". But certain confusion exists.