Proxmox vTPM Implementation

vkoya

New Member
Jan 2, 2026
2
0
1
I came across L551 [1] where the alignment is set to 0x1000 (4K) if the alignment is zero. Any value other than 0 will pass through even if invalid by the UEFI specification [2]. I am curious on the reasoning behind how 0 is chosen for comparison. I have read through a similar discussion on edk2 [3] and my understanding is that this applies to x86-64. [4] Appreciate your help.

Thanks,
Vivekanand



[1] https://git.proxmox.com/?p=efi-boot...5c44ef83e3cd3974f047343d99906b6989bbb;hb=HEAD
[2] https://uefi.org/specs/UEFI/2.9_A/07_Services_Boot_Services.html#efi-boot-services-allocatepages
[3] https://edk2.groups.io/g/devel/topic/linker_scripts_use_of_z/98045342
[4] https://github.com/llvm/llvm-project/issues/117103
 
Last edited:
Some time back, when reviewing KVM hypervisor boot logs for a Windows Server 2019/2022 VM using vTPM that was stuck in a boot loop, I saw 0x40 being passed and the sectionalignment with errors of a invalid passed value.

I'll take this discussion to the edk2 forums.