i386/sev: Enable KVM_HC_MAP_GPA_RANGE hcall for SNP guests
authorMichael Roth <michael.roth@amd.com>
Thu, 30 May 2024 11:16:43 +0000 (06:16 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Jun 2024 09:01:06 +0000 (11:01 +0200)
commite3cddff93c1f88fea3b26841e792dc0be6b6fae8
treec5b5e17c4769a70147a7e75df06d86ce09837a56
parent47e76d03b155e43beca550251a6eb7ea926c059f
i386/sev: Enable KVM_HC_MAP_GPA_RANGE hcall for SNP guests

KVM will forward GHCB page-state change requests to userspace in the
form of KVM_HC_MAP_GPA_RANGE, so make sure the hypercall handling is
enabled for SNP guests.

Signed-off-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Pankaj Gupta <pankaj.gupta@amd.com>
Message-ID: <20240530111643.1091816-32-pankaj.gupta@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/sev.c