summaryrefslogtreecommitdiffstats
path: root/virt/Makefile
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-10-13 23:12:31 +0200
committerDavid Woodhouse <dwmw@amazon.co.uk>2022-11-30 20:25:24 +0100
commit58f5ee5fedd981e05cb086cba4e8f923c3727a04 (patch)
tree14e4ac0c59bb8d8bc5c16b6494779a4be983ab5a /virt/Makefile
parentKVM: Do not partially reinitialize gfn=>pfn cache during activation (diff)
downloadlinux-58f5ee5fedd981e05cb086cba4e8f923c3727a04.tar.xz
linux-58f5ee5fedd981e05cb086cba4e8f923c3727a04.zip
KVM: Drop @gpa from exported gfn=>pfn cache check() and refresh() helpers
Drop the @gpa param from the exported check()+refresh() helpers and limit changing the cache's GPA to the activate path. All external users just feed in gpc->gpa, i.e. this is a fancy nop. Allowing users to change the GPA at check()+refresh() is dangerous as those helpers explicitly allow concurrent calls, e.g. KVM could get into a livelock scenario. It's also unclear as to what the expected behavior should be if multiple tasks attempt to refresh with different GPAs. Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Diffstat (limited to 'virt/Makefile')
0 files changed, 0 insertions, 0 deletions