Re: [libvirt] [PATCH 5/7] lxc: avoid large stacks with veth creation

2010-09-02 Thread Eric Blake
On 09/02/2010 06:16 AM, Matthias Bolte wrote: 2010/9/1 Eric Blake: * src/lxc/veth.h (vethCreate): Change prototype. * src/lxc/veth.c (vethCreate): Always malloc veth2, and allocate veth1 if needed. (getFreeVethName): Adjust signature, and use virAsprintf. * src/lxc/lxc_driver.c (lxcSetupInterfac

Re: [libvirt] [PATCH 5/7] lxc: avoid large stacks with veth creation

2010-09-02 Thread Matthias Bolte
2010/9/1 Eric Blake : > * src/lxc/veth.h (vethCreate): Change prototype. > * src/lxc/veth.c (vethCreate): Always malloc veth2, and allocate > veth1 if needed. > (getFreeVethName): Adjust signature, and use virAsprintf. > * src/lxc/lxc_driver.c (lxcSetupInterfaces): Adjust caller. > --- > > This iss

[libvirt] [PATCH 5/7] lxc: avoid large stacks with veth creation

2010-09-01 Thread Eric Blake
* src/lxc/veth.h (vethCreate): Change prototype. * src/lxc/veth.c (vethCreate): Always malloc veth2, and allocate veth1 if needed. (getFreeVethName): Adjust signature, and use virAsprintf. * src/lxc/lxc_driver.c (lxcSetupInterfaces): Adjust caller. --- This issue crossed file boundaries. It was a