aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorIzik Eidus <ieidus@redhat.com>2008-12-28 18:42:19 -0500
committerAvi Kivity <avi@redhat.com>2009-03-24 05:02:54 -0400
commit77c2002e7c6f019f59a6f3cc5f8b16b41748dbe1 (patch)
tree9d2d483b0624f09625f6b9ab6e2bc547f1cee4d3 /arch/x86/include
parent53f658b3c33616a4997ee254311b335e59063289 (diff)
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);
609 609
610void fx_init(struct kvm_vcpu *vcpu); 610void fx_init(struct kvm_vcpu *vcpu);
611 611
612int emulator_read_std(unsigned long addr,
613 void *val,
614 unsigned int bytes,
615 struct kvm_vcpu *vcpu);
616int emulator_write_emulated(unsigned long addr, 612int emulator_write_emulated(unsigned long addr,
617 const void *val, 613 const void *val,
618 unsigned int bytes, 614 unsigned int bytes,