[libvirt] [PATCH 04/23] Refactor LXC NIC creation to allow reuse by hotplug code

Gao feng gaofeng at cn.fujitsu.com
Fri Dec 14 05:58:55 UTC 2012


On 2012/12/01 04:26, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The code for creating veth/macvlan devices is part of the
> LXC process startup code. Refactor this a little and export
> the methods to the rest of the LXC driver. This allows them
> to be reused for NIC hotplug code
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/lxc/lxc_process.c | 102 +++++++++++++++++++++-----------------------------
>  src/lxc/lxc_process.h |   8 ++++
>  2 files changed, 50 insertions(+), 60 deletions(-)
> 

ACK




More information about the libvir-list mailing list