[pve-devel] [PATCH 3/7] add drive_mirror_monitor to move_disk
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Oct 20 09:53:52 CEST 2016
On Thu, Oct 20, 2016 at 02:35:12AM +0200, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
> PVE/API2/Qemu.pm | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
> index 98865f6..62055d1 100644
> --- a/PVE/API2/Qemu.pm
> +++ b/PVE/API2/Qemu.pm
> @@ -2583,6 +2583,8 @@ __PACKAGE__->register_method({
> my $newdrive = PVE::QemuServer::clone_disk($storecfg, $vmid, $running, $disk, $drive, undef,
> $vmid, $storeid, $format, 1, $newvollist);
>
> + PVE::QemuServer::qemu_drive_mirror_monitor($vmid) if $running;
Same as with patch 2
> +
> $conf->{$disk} = PVE::QemuServer::print_drive($vmid, $newdrive);
>
> PVE::QemuConfig->add_unused_volume($conf, $old_volid) if !$param->{delete};
> --
> 2.1.4
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list