summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorIzik Eidus <ieidus@redhat.com>2008-12-29 01:42:19 +0200
committerAvi Kivity <avi@redhat.com>2009-03-24 11:02:54 +0200
commit77c2002e7c6f019f59a6f3cc5f8b16b41748dbe1 (patch)
tree9d2d483b0624f09625f6b9ab6e2bc547f1cee4d3 /arch/x86/include
parent53f658b3c33616a4997ee254311b335e59063289 (diff)
downloadlinux-77c2002e7c6f019f59a6f3cc5f8b16b41748dbe1.tar.gz
linux-77c2002e7c6f019f59a6f3cc5f8b16b41748dbe1.tar.bz2
linux-77c2002e7c6f019f59a6f3cc5f8b16b41748dbe1.zip
KVM: introduce kvm_read_guest_virt, kvm_write_guest_virt
This commit change the name of emulator_read_std into kvm_read_guest_virt, and add new function name kvm_write_guest_virt that allow writing into a guest virtual address. Signed-off-by: Izik Eidus <ieidus@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 9efc446b5ac6..b74576aec19a 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -609,10 +609,6 @@ void kvm_inject_nmi(struct kvm_vcpu *vcpu);
void fx_init(struct kvm_vcpu *vcpu);
-int emulator_read_std(unsigned long addr,
- void *val,
- unsigned int bytes,
- struct kvm_vcpu *vcpu);
int emulator_write_emulated(unsigned long addr,
const void *val,
unsigned int bytes,