commit | 49c7754ce57063b819b01eb8a4290841ad0886c4 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Mon Oct 18 15:22:23 2010 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:23:08 2011 +0200 |
tree | 67561bbc829d93efa5316c246ec84fe2f2493236 | |
parent | 56028d0861e48f7cc9c573d79f2d8a0a933a2bba [diff] |
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 <riel@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>