Re: [PATCH v2 04/11] KVM: SEV: publish supported VMSA features

From: Paolo Bonzini
Date: Fri Feb 23 2024 - 11:26:25 EST


On 2/23/24 17:07, Sean Christopherson wrote:
And unless dead code elimination isn't as effective as I think it is,
we don't even need any stubs since sev_guest() and sev_es_guest()
are __always_inline specifically so that useless code can be elided.
Or if we want to avoid use of IS_ENABLED(), we could add four stubs,
which is still well worth it.

This particular #ifdef was needed to avoid a compilation failure, but I'll check your patches and include them.

Paolo