]> git.proxmox.com Git - qemu-server.git/commit
api: clone vm: check against cloning running TPM state early
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 17 Mar 2022 11:31:01 +0000 (12:31 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 1 Apr 2022 08:24:59 +0000 (10:24 +0200)
commite4a70a41fbff075b0a552bdc052c024ec6a3b6eb
tree9ed9f429ecbb7f9f4365a0385102489260197dd3
parent1d1f8f9ada5a0dff49ebc4ea08bf43e828249bc2
api: clone vm: check against cloning running TPM state early

Drive keys are sorted when cloning and 'tpmstate0' comes late, so it
was likely that potentially large disks were already copied just to be
removed again, because of the TPM state restriction at the end.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/API2/Qemu.pm