aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
authorLaurent Vivier <Laurent.Vivier@bull.net>2007-07-30 06:41:19 -0400
committerAvi Kivity <avi@qumranet.com>2007-10-13 04:18:21 -0400
commite7d5d76cae970117affe07f809faf0f18bbac675 (patch)
tree3410ce6d12e1095affcd4e6f7fd36716587916c6 /drivers/kvm/svm.c
parentcebff02b11b02a81d21b6cc8390938dc9bdf0a12 (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/svm.c')
-rw-r--r--drivers/kvm/svm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c
index cd966739970f..b25f4e117e71 100644
--- a/drivers/kvm/svm.c
+++ b/drivers/kvm/svm.c
@@ -1019,7 +1019,8 @@ static int io_get_override(struct vcpu_svm *svm,
1019 svm->vmcb->control.exit_info_2, 1019 svm->vmcb->control.exit_info_2,
1020 ins_length); 1020 ins_length);
1021 1021
1022 if (kvm_read_guest(&svm->vcpu, rip, ins_length, inst) != ins_length) 1022 if (emulator_read_std(rip, inst, ins_length, &svm->vcpu)
1023 != X86EMUL_CONTINUE)
1023 /* #PF */ 1024 /* #PF */
1024 return 0; 1025 return 0;
1025 1026