From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com,
Thomas Ellmenreich <t.ellmenreich@proxmox.com>
Subject: applied: [PATCH qemu-server 0/3] drive: account for differing TPM sizes
Date: Wed, 28 Oct 2026 17:16:08 +0100 [thread overview]
Message-ID: <179320416726.1677009.13238742729492248976.b4-ty@b4> (raw)
In-Reply-To: <20261027101723.144576-1-t.ellmenreich@proxmox.com>
On Tue, 27 Oct 2026 11:17:20 +0100, Thomas Ellmenreich wrote:
> Our current systems to handle TPM drives always assume that the disks have a
> fixed 4MiB size that cannot be changed even if that may not be the case. In
> situations where the granularity of the backing storage exceeds the 4MiB, an
> allocation of a TPM drive will be at least as big as the granularity of said
> backing storage.
>
> To solve this mismatch in a very simple way, the default size is retained for
> allocation. Only after the allocation do we check the actual size of the
> created TPM disk and update the configuration accordingly. A minimum size of
> 4MiB is always applied to situations where that may not be the case.
>
> [...]
Applied, thanks!
[1/3] drive: update TPM size as max of current and minimum size
https://git.proxmox.com/?p=qemu-server.git;a=commitdiff;h=314e1338b3f83dc4a76f8458e95560b1743ae82e
[2/3] api: create disks: update TPM size on creation
https://git.proxmox.com/?p=qemu-server.git;a=commitdiff;h=73d06ea0a54452df3634359f6d9f08ed76c754a3
[3/3] clone disk: read actual size when cloning TPM drive
https://git.proxmox.com/?p=qemu-server.git;a=commitdiff;h=10a812e9df4b77ea3c91d10b705212adf6265efa
prev parent reply other threads:[~2026-10-28 16:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 10:17 [PATCH qemu-server 0/3] drive: account for differing TPM sizes Thomas Ellmenreich
2026-10-27 10:17 ` [PATCH qemu-server 1/3] drive: update TPM size as max of current and minimum size Thomas Ellmenreich
2026-10-28 10:32 ` Fiona Ebner
2026-10-27 10:17 ` [PATCH qemu-server 2/3] api: create disks: update TPM size on creation Thomas Ellmenreich
2026-10-27 10:17 ` [PATCH qemu-server 3/3] clone disk: read actual size when cloning TPM drive Thomas Ellmenreich
2026-10-28 16:16 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179320416726.1677009.13238742729492248976.b4-ty@b4 \
--to=t.lamprecht@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
--cc=t.ellmenreich@proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox