On Fri, May 31, 2024 at 4:38 PM Liam Merwick <liam.merw...@oracle.com>
wrote:
> > --- a/linux-headers/asm-x86/kvm.h
> > +++ b/linux-headers/asm-x86/kvm.h
> > @@ -870,5 +919,6 @@ struct kvm_hyperv_eventfd {
> >   #define KVM_X86_SW_PROTECTED_VM     1
> >   #define KVM_X86_SEV_VM              2
> >   #define KVM_X86_SEV_ES_VM   3
> > +#define KVM_X86_SNP_VM               4
>
> I'm not sure which is the best patch, but there needs to be an array entry
> added for vm_type_name[KVM_X86_SNP_VM] in target/i386/kvm/kvm.c

Probably "i386/sev: Add a class method to determine KVM VM type for
SNP guests", which is where KVM_X86_SNP_VM appears in the code.


Paolo


Reply via email to