Re: [PATCH v16.1] KVM: selftests: Add support for TDX ucalls, via TDVMCALL_REPORT_FATAL_ERROR

From: Sean Christopherson

Date: Wed Nov 11 2026 - 10:23:47 EST


On Wed, Nov 11, 2026, Xiaoyao Li wrote:
> On 11/7/2026 12:47 AM, Sean Christopherson wrote:

...

> > +#define UCALL_PIO_PORT ((u16)0x1000)
> > +#define UCALL_TDX_MAGIC 0xabacadabaULL
> It's 0xa baca dabaULL. I think it should be a typo.

It's not a typo, just a bad (or awesome, depending on your viewpoint) "dad" joke.
The value is a 64-bit value, i.e. there's no truncation.

/* If a toddler were to say "abracadabra". */
#define KVM_EXCEPTION_MAGIC 0xabacadabaULL