Bug 1186928
| Summary: | libvirtd with virtio fails with virNetDevMacVLanCreateWithVPortProfile flag | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Sergey Zemtsov <szemtsov> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | jtomko, rbalakri |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-29 13:21:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sergey Zemtsov
2015-01-28 21:39:15 UTC
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. |