[pve-devel] [RFC qemu-server 1/5] disk reassign: add API endpoint

Aaron Lauterer a.lauterer at proxmox.com
Mon Aug 17 09:09:23 CEST 2020



On 8/17/20 8:59 AM, Alexandre DERUMIER wrote:
> Hi,
> 
> thanks for this feature, it can be really usefull.
> 
> 
>>> + die "Cannot reassign disk while the source VM is running\n"
>>> + if PVE::QemuServer::check_running($vmid);
> 
> could it be possible to add support for unused disk for running vms ?
> (Like this user can safely hot-unplug disk if needed, and reassign them)

Good point. At the moment `unusedX` disks don't work at all due to the way I am reusing existing API schemas.

I will try to get this working in the next version. :)

> 
> 
> Alexandre
> 





More information about the pve-devel mailing list