Re: [PATCH v2 6/8] x86/sev: Register the guest with the SVSM APIC protocol

From: Melody Wang

Date: Sun Sep 20 2026 - 13:55:45 EST


Hi Ard,

On 9/18/26 1:14 AM, Ard Biesheuvel wrote:
early_is_sevsnp_guest() needs to be exported anyway, as I am doing in [0]

I see, I can export it when it is needed.

Right now, I think I can put the code in compressed/sev.c since those functions are self-contained as you noted.

If it is really necessary and we want to be pedantic, we can carve them out into a separate compilation unit but that's for later.

I will send v3 and cc you.

Thanks,
Melody