]> Git Repo - linux.git/commit
KVM: Add memory slot versioning and use it to provide fast guest write interface
authorGleb Natapov <[email protected]>
Mon, 18 Oct 2010 13:22:23 +0000 (15:22 +0200)
committerAvi Kivity <[email protected]>
Wed, 12 Jan 2011 09:23:08 +0000 (11:23 +0200)
commit49c7754ce57063b819b01eb8a4290841ad0886c4
tree67561bbc829d93efa5316c246ec84fe2f2493236
parent56028d0861e48f7cc9c573d79f2d8a0a933a2bba
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 <[email protected]>
Signed-off-by: Gleb Natapov <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
arch/x86/kvm/x86.c
include/linux/kvm_host.h
include/linux/kvm_types.h
virt/kvm/kvm_main.c
This page took 0.059193 seconds and 4 git commands to generate.