diff options
author | Michael Roth <[email protected]> | 2024-05-28 15:58:09 -0500 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-06-03 12:36:52 -0400 |
commit | febff040b1a6781c46b3670e73fbcb707e731e7e (patch) | |
tree | e7e8c57f1066aaadef2b33d740aa46db55dbc15e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 6f627b425378915b6eda30908bedefc21b70b8c4 (diff) |
KVM: SEV: Automatically switch reclaimed pages to shared
Currently there's a consistent pattern of always calling
host_rmp_make_shared() immediately after snp_page_reclaim(), so go ahead
and handle it automatically as part of snp_page_reclaim(). Also rename
it to kvm_rmp_make_shared() to more easily distinguish it as a
KVM-specific variant of the more generic rmp_make_shared() helper.
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Michael Roth <[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