On 30/05/2024 12:16, Pankaj Gupta wrote:
> Co-developed-by: Michael Roth <michael.r...@amd.com>
> Signed-off-by: Michael Roth <michael.r...@amd.com>
> Signed-off-by: Pankaj Gupta <pankaj.gu...@amd.com>
> ---
>   linux-headers/asm-loongarch/bitsperlong.h | 23 ++++++++++
>   linux-headers/asm-loongarch/kvm.h         |  4 ++
>   linux-headers/asm-loongarch/mman.h        |  9 ++++
>   linux-headers/asm-riscv/kvm.h             |  1 +
>   linux-headers/asm-riscv/mman.h            | 36 +++++++++++++++-
>   linux-headers/asm-s390/mman.h             | 36 +++++++++++++++-
>   linux-headers/asm-x86/kvm.h               | 52 ++++++++++++++++++++++-
>   linux-headers/linux/vhost.h               | 15 ++++---
>   8 files changed, 166 insertions(+), 10 deletions(-)
>

> --- 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

Regards,
Liam


Reply via email to