Skip to content
Commit 8f964525 authored by Andrew Honig's avatar Andrew Honig Committed by Gleb Natapov
Browse files

KVM: Allow cross page reads and writes from cached translations.



This patch adds support for kvm_gfn_to_hva_cache_init functions for
reads and writes that will cross a page.  If the range falls within
the same memslot, then this will be a fast operation.  If the range
is split between two memslots, then the slower kvm_read_guest and
kvm_write_guest are used.

Tested: Test against kvm_clock unit tests.

Signed-off-by: default avatarAndrew Honig <ahonig@google.com>
Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
parent 09a6e1f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment