[pve-devel] [PATCH] don't try to hotplug disk if a disk already exist.

Dietmar Maurer dietmar at proxmox.com
Fri Aug 29 08:29:00 CEST 2014


> -    } else { # hotplug new disks
> -
> +    } elsif (!$old_volid) { # hotplug new disks
>  	die "error hotplug $opt" if !PVE::QemuServer::vm_deviceplug($storecfg,
> $conf, $vmid, $opt, $drive);
>      }

This does not display any errors if $old_volid is set?
I think we should raise an error to indicate that something went wrong?




More information about the pve-devel mailing list