From: Andrew Honig Date: Fri, 29 Mar 2013 16:35:21 +0000 (-0700) Subject: KVM: Allow cross page reads and writes from cached translations. X-Git-Tag: v3.9-rc6~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f964525a121f2ff2df948dac908dcc65be21b5b;p=pandora-kernel.git 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: Andrew Honig Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed