Update to libvirt 0.7.4

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=23
This commit is contained in:
2009-11-24 21:18:07 +00:00
committed by Git OBS Bridge
parent 8564dd97e4
commit 48020eedc5
16 changed files with 199 additions and 327 deletions

View File

@@ -2,7 +2,7 @@ Index: src/lxc/lxc_container.c
===================================================================
--- src/lxc/lxc_container.c.orig
+++ src/lxc/lxc_container.c
@@ -796,6 +796,9 @@ int lxcContainerStart(virDomainDefPtr de
@@ -813,6 +813,9 @@ int lxcContainerStart(virDomainDefPtr de
lxc_child_argv_t args = { def, nveths, veths, control, ttyPath };
/* allocate a stack for the container */
@@ -12,7 +12,7 @@ Index: src/lxc/lxc_container.c
if (VIR_ALLOC_N(stack, stacksize) < 0) {
virReportOOMError(NULL);
return -1;
@@ -810,7 +813,11 @@ int lxcContainerStart(virDomainDefPtr de
@@ -827,7 +830,11 @@ int lxcContainerStart(virDomainDefPtr de
if (def->nets != NULL)
flags |= CLONE_NEWNET;
@@ -24,7 +24,7 @@ Index: src/lxc/lxc_container.c
VIR_FREE(stack);
DEBUG("clone() returned, %d", pid);
@@ -836,6 +843,7 @@ int lxcContainerAvailable(int features)
@@ -853,6 +860,7 @@ int lxcContainerAvailable(int features)
char *childStack;
char *stack;
int childStatus;
@@ -32,7 +32,7 @@ Index: src/lxc/lxc_container.c
if (features & LXC_CONTAINER_FEATURE_USER)
flags |= CLONE_NEWUSER;
@@ -843,14 +851,21 @@ int lxcContainerAvailable(int features)
@@ -860,14 +868,21 @@ int lxcContainerAvailable(int features)
if (features & LXC_CONTAINER_FEATURE_NET)
flags |= CLONE_NEWNET;