]> git.ipfire.org Git - thirdparty/libvirt.git/commit
LXC implement missing macaddr assignment feature
authorRyota Ozaki <ozaki.ryota@gmail.com>
Wed, 21 Oct 2009 10:04:02 +0000 (12:04 +0200)
committerDaniel Veillard <veillard@redhat.com>
Wed, 21 Oct 2009 10:04:02 +0000 (12:04 +0200)
commite8fc4cbb64c7ffdb8e42b8d41de61f57a0fe2bfb
treee25570843bbed9cdebd74c3c6d75652df21dca3c
parent89f0c6d089ba4f3f39a4833e2cd3c6c77124b21b
LXC implement missing macaddr assignment feature

Currently MAC address configuration of container veth is just ignored.
This patch implements the missing feature.

* src/lxc/veth.c, src/lxc/veth.h: add setMacAddr
* src/lxc/lxc_driver.c: set macaddr of container veth if specified
src/lxc/lxc_driver.c
src/lxc/veth.c
src/lxc/veth.h