diff options
author | Laurent Vivier <Laurent.Vivier@bull.net> | 2007-07-30 06:41:19 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 04:18:21 -0400 |
commit | e7d5d76cae970117affe07f809faf0f18bbac675 (patch) | |
tree | 3410ce6d12e1095affcd4e6f7fd36716587916c6 /drivers/kvm/kvm.h | |
parent | cebff02b11b02a81d21b6cc8390938dc9bdf0a12 (diff) |
KVM: Remove kvm_{read,write}_guest()
... in favor of the more general emulator_{read,write}_*.
Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 1072c8322d4f..030b93bcdf1b 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -561,15 +561,14 @@ void kvm_load_guest_fpu(struct kvm_vcpu *vcpu); | |||
561 | void kvm_put_guest_fpu(struct kvm_vcpu *vcpu); | 561 | void kvm_put_guest_fpu(struct kvm_vcpu *vcpu); |
562 | void kvm_flush_remote_tlbs(struct kvm *kvm); | 562 | void kvm_flush_remote_tlbs(struct kvm *kvm); |
563 | 563 | ||
564 | int kvm_read_guest(struct kvm_vcpu *vcpu, | 564 | int emulator_read_std(unsigned long addr, |
565 | gva_t addr, | 565 | void *val, |
566 | unsigned long size, | 566 | unsigned int bytes, |
567 | void *dest); | 567 | struct kvm_vcpu *vcpu); |
568 | 568 | int emulator_write_emulated(unsigned long addr, | |
569 | int kvm_write_guest(struct kvm_vcpu *vcpu, | 569 | const void *val, |
570 | gva_t addr, | 570 | unsigned int bytes, |
571 | unsigned long size, | 571 | struct kvm_vcpu *vcpu); |
572 | void *data); | ||
573 | 572 | ||
574 | unsigned long segment_base(u16 selector); | 573 | unsigned long segment_base(u16 selector); |
575 | 574 | ||