aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2024-07-11 22:27:51 +0000
committerPaolo Bonzini <[email protected]>2024-07-26 18:46:14 +0000
commit7239ed74677af143857d1a96d402476446a0995a (patch)
tree25c69a9ee44d04997f94392f85a53eecc5adaf21 /rust/helpers/task.c
parentKVM: guest_memfd: make kvm_gmem_prepare_folio() operate on a single struct kvm (diff)
downloadkernel-7239ed74677af143857d1a96d402476446a0995a.tar.gz
kernel-7239ed74677af143857d1a96d402476446a0995a.zip
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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions