Re: [pve-devel] [PATCH container] Add unused volume when mp is modified

2016-02-17 Thread Dietmar Maurer
comments inline > diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm > index a737fc0..84aba83 100644 > --- a/src/PVE/LXC.pm > +++ b/src/PVE/LXC.pm > @@ -1352,6 +1352,12 @@ sub update_pct_config { > } elsif ($opt =~ m/^mp(\d+)$/) { > next if $hotplug_error->($opt); > check_pr

[pve-devel] [PATCH container] Add unused volume when mp is modified

2016-02-16 Thread Fabian Grünbichler
Add an unusedX entry for the old value when a mpY entry is updated. This is already done on mp deletion. --- src/PVE/LXC.pm | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index a737fc0..84aba83 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -1352,6 +