From: Gleb Natapov Date: Mon, 18 Oct 2010 13:22:23 +0000 (+0200) Subject: KVM: Add memory slot versioning and use it to provide fast guest write interface X-Git-Tag: v2.6.38-rc1~244^2~138 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c7754ce57063b819b01eb8a4290841ad0886c4;p=pandora-kernel.git KVM: Add memory slot versioning and use it to provide fast guest write interface Keep track of memslots changes by keeping generation number in memslots structure. Provide kvm_write_guest_cached() function that skips gfn_to_hva() translation if memslots was not changed since previous invocation. Acked-by: Rik van Riel Signed-off-by: Gleb Natapov Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed