[pve-devel] applied: [PATCH qemu-server] clone disk: force raw format for TPM state

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Feb 17 14:33:49 CET 2022


On 16.02.22 11:47, Fabian Ebner wrote:
> The format can't be qcow2 for TPM state, because swtpm reads the file
> directly expecting raw data.
> 
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> 
> The DiskStorageSelector in the UI hides the format for TPM state, but
> still sends along format=qcow2 triggering this bug. Still, the fix
> should be in the backend.
> 

IMO the frontend shouldn't send that though and in a next major version the backend
should bail on that, as it can be confusing to do such things "magically".

>  PVE/QemuServer.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
>

applied, thanks!





More information about the pve-devel mailing list