]> xenbits.xensource.com Git - libvirt.git/commit
Remove flag checking in MacVLanCreate helper stub
authorJán Tomko <jtomko@redhat.com>
Thu, 29 Jan 2015 09:03:29 +0000 (10:03 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 29 Jan 2015 09:06:56 +0000 (10:06 +0100)
commit08d1ae16d6d7264d5597fea61a87a9a3340cd43d
tree990e2a394b15ea5d8ea78e1558397340bd9becab
parent00af2381095981f5e6eb4df9facb253e602a78a1
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
src/util/virnetdevmacvlan.c