SHA256
1
0
forked from pool/libvirt

Update to libvirt 0.7.6

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=36
This commit is contained in:
2010-02-04 20:17:25 +00:00
committed by Git OBS Bridge
parent 1b2d2dbf16
commit abc111875d
16 changed files with 240 additions and 603 deletions

View File

@@ -2,7 +2,7 @@ Index: src/lxc/lxc_container.c
===================================================================
--- src/lxc/lxc_container.c.orig
+++ src/lxc/lxc_container.c
@@ -813,6 +813,9 @@ int lxcContainerStart(virDomainDefPtr de
@@ -814,6 +814,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;
@@ -827,7 +830,11 @@ int lxcContainerStart(virDomainDefPtr de
@@ -828,7 +831,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);
@@ -853,6 +860,7 @@ int lxcContainerAvailable(int features)
@@ -854,6 +861,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;
@@ -860,14 +868,21 @@ int lxcContainerAvailable(int features)
@@ -861,14 +869,21 @@ int lxcContainerAvailable(int features)
if (features & LXC_CONTAINER_FEATURE_NET)
flags |= CLONE_NEWNET;