On Mon, Jul 14, 2008 at 04:04:01PM +0400, Evgeniy Sokolov wrote:
>
> >>Patch improve code which execute external OpenVZ tools.
> >
> >>+/* generate arguments to create OpenVZ container
> >>+ return -1 - error
> >>+ 0 - OK
> >>+*/
> >>+static int openvzDomainDefineCmd(const char *args[
Patch improve code which execute external OpenVZ tools.
+/* generate arguments to create OpenVZ container
+ return -1 - error
+ 0 - OK
+*/
+static int openvzDomainDefineCmd(const char *args[], int maxarg, struct
openvz_vm_def *vmdef)
Rather than passing in the pre-allocated arg
On Fri, Jul 11, 2008 at 07:55:11PM +0400, Evgeniy Sokolov wrote:
> Patch improve code which execute external OpenVZ tools.
> +/* generate arguments to create OpenVZ container
> + return -1 - error
> + 0 - OK
> +*/
> +static int openvzDomainDefineCmd(const char *args[], int maxarg, stru
Patch improve code which execute external OpenVZ tools.
? src/test.xml
Index: src/openvz_driver.c
===
RCS file: /data/cvs/libvirt/src/openvz_driver.c,v
retrieving revision 1.28
diff -u -p -r1.28 openvz_driver.c
--- src/openvz_driver.c