diff options
Diffstat (limited to 'drivers/kvm/svm.c')
-rw-r--r-- | drivers/kvm/svm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/kvm/svm.c b/drivers/kvm/svm.c index cd966739970..b25f4e117e7 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 | ||