[pve-devel] [PATCH] lxc: add hotplug memory && cpus cgroups value
Dietmar Maurer
dietmar at proxmox.com
Sat Jun 20 16:40:18 CEST 2015
> On June 20, 2015 at 2:13 PM Alexandre Derumier <aderumier at odiso.com> wrote:
>
>
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
> src/PVE/LXC.pm | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
>
> diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
> index 068b46f..733fe4f 100644
> --- a/src/PVE/LXC.pm
> +++ b/src/PVE/LXC.pm
> @@ -966,13 +966,14 @@ sub update_lxc_config {
>
> # fixme: hotplug
> die "unable to modify config while container is running\n" if $running;
are you sure your patch works? Maybe you wanted to remove
above 'die' for memory,swap,cpuunits and cpulimit?
More information about the pve-devel
mailing list