KVM: Add memory slot versioning and use it to provide fast guest write interface
authorGleb Natapov <gleb@redhat.com>
Mon, 18 Oct 2010 13:22:23 +0000 (15:22 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:23:08 +0000 (11:23 +0200)
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 <riel@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found