KVM: introduce kvm_read_guest_cached
authorGleb Natapov <gleb@redhat.com>
Mon, 11 Jul 2011 19:28:11 +0000 (15:28 -0400)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:17:01 +0000 (13:17 +0300)
commite03b644fe68b1c6401465b02724d261538dba10f
tree9bb12d9ca9a74865618919e10922b2483a8cacdb
parent29d03158f9d400450c17bb25ee0533b52f651d04
KVM: introduce kvm_read_guest_cached

Introduce kvm_read_guest_cached() function in addition to write one we
already have.

[ by glauber: export function signature in kvm header ]

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Glauber Costa <glommer@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Tested-by: Eric Munson <emunson@mgebm.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
include/linux/kvm_host.h
virt/kvm/kvm_main.c