[pve-devel] [PATCH edk2-firmware 4/4] Adapt APIC frequency for TD guest

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Sep 16 11:51:17 CEST 2025


Am 16.09.25 um 11:14 schrieb Anton Iacobaeus:
> From: Philipp Giersfeld <philipp.giersfeld at canarybit.eu>
> 
> The TDX module advertises the APIC frequency with 25Mhz for TD guest in
> contrast to the default frequency of 1Ghz. Hardcode frequency to 25Mhz

Ok, but why? It would be great to get an actual rationale encoded here
in the commit message. Does this result in any measurable effect on the VM
behavior?

> for demonstration purposes. This should be changed to either check the
> frequency with CPUID 0x15 or by simply setting it to the two known
> values depending on whether VM is started as a TD.
> 
> Signed-off-by: Philipp Giersfeld <philipp.giersfeld at canarybit.eu>
> Signed-off-by: Anton Iacobaeus <anton.iacobaeus at canarybit.eu>
> ---
>  ...to-match-the-one-advertised-by-TDX-m.patch | 27 +++++++++++++++++++
>  debian/patches/series                         |  1 +
>  2 files changed, 28 insertions(+)
>  create mode 100644 debian/patches/Adapt-Frequency-to-match-the-one-advertised-by-TDX-m.patch
> 




More information about the pve-devel mailing list