diff options
author | Ashish Kalra <[email protected]> | 2024-05-01 03:52:06 -0500 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-05-12 04:09:33 -0400 |
commit | ea262f8a7c360e71f3cb6c2151fd9bfcefd090e9 (patch) | |
tree | b79c3c6b5761962cce54a930adc0934fd5015b1b /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b2104024f40cadd7d357981c51c6437a41d86f63 (diff) |
KVM: SEV: Avoid WBINVD for HVA-based MMU notifications for SNP
With SNP/guest_memfd, private/encrypted memory should not be mappable,
and MMU notifications for HVA-mapped memory will only be relevant to
unencrypted guest memory. Therefore, the rationale behind issuing a
wbinvd_on_all_cpus() in sev_guest_memory_reclaimed() should not apply
for SNP guests and can be ignored.
Signed-off-by: Ashish Kalra <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
[mdr: Add some clarifications in commit]
Signed-off-by: Michael Roth <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions