]> xenbits.xensource.com Git - libvirt.git/commit
Allow creation of plain macvlan devices
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 10 Nov 2011 10:29:09 +0000 (10:29 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 18 Nov 2011 16:10:37 +0000 (16:10 +0000)
commit6ec8288a968befdc67a013699fde20e1a49ed89b
treead83505e0855fd4e9ec05280bd11ed9d77132734
parentf3b1b9b184a6cd73585a233ed8a741f08a840221
Allow creation of plain macvlan devices

Update virNetDevMacVLanCreateWithVPortProfile to allow creation
of plain macvlan devices, as well as macvtap devices. The former
is useful for LXC containers

* src/qemu/qemu_command.c: Explicitly request a macvtap device
* src/util/virnetdevmacvlan.c, src/util/virnetdevmacvlan.h: Add
  new flag to allow switching between macvlan and macvtap
  creation
src/qemu/qemu_command.c
src/util/virnetdevmacvlan.c
src/util/virnetdevmacvlan.h