Re: Cannot create macvlan devices on this platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 21, 2012 at 11:25:13AM +0200, Michael Hierweck wrote:
> Hi,
> 
> libvirt (0.9.11) refuses to start KVM based virtual machines on my
> system when changing the network connection from "host bridge" to
> "direct" (macvtap/macvlan), neither in "bridge" nor in "vepa" mode:
> 
> "Cannot create macvlan devices on this platform"
> 
> That's astonishing because I can easily setup working macvlan devices
> using the "ip" command: "ip link add link eth0 type macvlan".
> 
> Would someone help me figure out the reason?

This error message occurs if macvtap support was missing when libvirt
was compiled. Based on the configure.ac check, whoever compiled your
libvirt package did not have new enough kernel headers to have the
following constants present

  MACVLAN_MODE_BRIDGE
  IFLA_VF_MAX

which should be in linux/rtnetlink.h


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux