libvirt/src/lxc
John Ferlan ae09988eb7 lxc_cgroup: Add check for NULL cgroup before AddTask call
Commit id '71ce4759' altered the cgroup processing with respect to the
call to virCgroupAddTask being moved out from lower layers into the calling
layers especially for qemu processing of emulator and vcpu threads. The
movement affected lxc insomuch as it is possible for a code path to
return a NULL cgroup *and* a 0 return status via virCgroupNewPartition
failure when virCgroupNewIgnoreError succeeded when virCgroupNewMachineManual
returns. Coverity pointed out that would cause virCgroupAddTask to core.

This patch will check for a NULL cgroup as well as the negative return
and just return the NULL cgroup to the caller (as it would have previously)
2015-12-18 08:59:34 -05:00
..
libvirtd_lxc.aug
lxc_cgroup.c lxc_cgroup: Add check for NULL cgroup before AddTask call 2015-12-18 08:59:34 -05:00
lxc_cgroup.h
lxc_conf.c lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxc_conf.h
lxc_container.c lxc: Bind mount container TTYs 2015-11-18 11:29:48 +00:00
lxc_container.h lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxc_controller.c conf: Replace read accesses to def->vcpus with accessor 2015-12-09 14:57:12 +01:00
lxc_domain.c lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxc_domain.h lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxc_driver.c conf: Replace read accesses to def->vcpus with accessor 2015-12-09 14:57:12 +01:00
lxc_driver.h
lxc_fuse.c Avoid using !STREQ and !STRNEQ 2015-10-21 15:03:35 +02:00
lxc_fuse.h
lxc_hostdev.c
lxc_hostdev.h
lxc_monitor_protocol.x Remove explicit enum from protocol structures 2015-07-08 14:34:38 +02:00
lxc_monitor.c
lxc_monitor.h
lxc_native.c conf: Replace writes to def->vcpus with accessor 2015-12-09 14:57:12 +01:00
lxc_native.h lxc: use virDomainDefPostParse for parsing LXC config string 2015-12-09 12:59:02 +01:00
lxc_process.c virNetDevMacVLanCreateWithVPortProfile: Rework to support multiple FDs 2015-12-11 08:44:43 +01:00
lxc_process.h
lxc.conf
test_libvirtd_lxc.aug.in