Paolo Bonzini 7239ed7467 KVM: remove kvm_arch_gmem_prepare_needed()
It is enough to return 0 if a guest need not do any preparation.
This is in fact how sev_gmem_prepare() works for non-SNP guests,
and it extends naturally to Intel hosts: the x86 callback for
gmem_prepare is optional and returns 0 if not defined.

Reviewed-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2024-07-26 14:46:14 -04:00
..
2024-05-13 19:29:08 -07:00
2024-05-21 10:09:28 -07:00
2024-05-18 12:39:20 -07:00
2024-05-19 11:32:42 -07:00
2024-05-13 18:21:24 -07:00
2024-05-24 10:24:49 -07:00