[pve-devel] [PATCH v12 qemu-server 07/16] clone disk: allow cloning from an unused or unreferenced disk

Fabian Ebner f.ebner at proxmox.com
Thu Mar 17 11:35:54 CET 2022


Am 14.03.22 um 16:55 schrieb Fabian Grünbichler:
> On March 9, 2022 11:09 am, Fabian Ebner wrote:
> corresponding to this else branch here - mirroring but changing 
> drivename is not something we currently ever want to do, so we might 
> want to guard against it?
> 

Actually, it does happen when importing to a different drive key from a
running VM. We don't switch the original drive node in QEMU when the
target VM ID is different (like for regular clone). But there is a
problematic corner case when importing from the same VM to itself ;).
I'll add a check with that considered.





More information about the pve-devel mailing list