libvirt/src/lxc
John Ferlan 38ada092d1 lxc: Resolve issue with GetScheduler APIs for non running domain
As a consequence of the cgroup layout changes from commit 'cfed9ad4', the
lxcDomainGetSchedulerParameters[Flags]()' and lxcGetSchedulerType() APIs
failed to return data for a non running domain.  This can be seen through
a 'virsh schedinfo <domain>' command which returns:

Scheduler      : Unknown
error: Requested operation is not valid: cgroup CPU controller is not mounted

Prior to that change a non running domain would return:

Scheduler      : posix
cpu_shares     : 0
vcpu_period    : 0
vcpu_quota     : 0
emulator_period: 0
emulator_quota : 0

This patch will restore the capability to return configuration only data
for a non running domain regardless of whether cgroups are available.
2013-06-19 15:01:48 -04:00
..
libvirtd_lxc.aug Add support for sVirt in the LXC driver 2012-02-02 17:44:39 -07:00
lxc_cgroup.c src/lxc: Remove the whitespace before ";" 2013-05-21 23:41:45 +08:00
lxc_cgroup.h Change default cgroup layout for QEMU/LXC and honour XML config 2013-04-15 17:35:31 +01:00
lxc_conf.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/lxc/* 2013-05-09 14:00:45 +02:00
lxc_conf.h maint: don't use config.h in .h files 2013-06-05 05:53:25 -06:00
lxc_container.c LXC: s/chroot/chdir in lxcContainerPivotRoot() 2013-06-14 11:24:41 +02:00
lxc_container.h Convert capabilities / domain_conf to use virArch 2012-12-18 16:53:03 +00:00
lxc_controller.c Replace two-state local integers with bool 2013-06-06 17:22:53 +02:00
lxc_domain.c Store a virCgroupPtr instance in virLXCDomainObjPrivatePtr 2013-04-15 17:35:31 +01:00
lxc_domain.h Store a virCgroupPtr instance in virLXCDomainObjPrivatePtr 2013-04-15 17:35:31 +01:00
lxc_driver.c lxc: Resolve issue with GetScheduler APIs for non running domain 2013-06-19 15:01:48 -04:00
lxc_driver.h maint: don't use config.h in .h files 2013-06-05 05:53:25 -06:00
lxc_fuse.c Ensure non-root can read /proc/meminfo file in LXC containers 2013-06-05 14:02:20 +01:00
lxc_fuse.h maint: don't use config.h in .h files 2013-06-05 05:53:25 -06:00
lxc_hostdev.c src/lxc: Remove the whitespace before ";" 2013-05-21 23:41:45 +08:00
lxc_hostdev.h Rename all USB device functions to have a standard name prefix 2013-02-05 19:22:25 +00:00
lxc_monitor_protocol.x Fix generation of systemtap probes for RPC protocols 2013-03-14 12:42:22 +00:00
lxc_monitor.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
lxc_monitor.h Fix generation of systemtap probes for RPC protocols 2013-03-14 12:42:22 +00:00
lxc_process.c Replace two-state local integers with bool 2013-06-06 17:22:53 +02:00
lxc_process.h Refactor LXC NIC creation to allow reuse by hotplug code 2012-12-17 17:50:51 +00:00
lxc.conf Standardize whitespace used in example config files 2012-05-28 10:59:13 +01:00
test_libvirtd_lxc.aug.in Autogenerate augeas test case from default config files 2012-05-28 11:07:12 +01:00