|
@@ -7704,8 +7704,8 @@ static int handle_ept_misconfig(struct kvm_vcpu *vcpu)
|
|
|
if (!static_cpu_has(X86_FEATURE_HYPERVISOR))
|
|
|
return kvm_skip_emulated_instruction(vcpu);
|
|
|
else
|
|
|
- return x86_emulate_instruction(vcpu, gpa, EMULTYPE_SKIP,
|
|
|
- NULL, 0) == EMULATE_DONE;
|
|
|
+ return emulate_instruction(vcpu, EMULTYPE_SKIP) ==
|
|
|
+ EMULATE_DONE;
|
|
|
}
|
|
|
|
|
|
return kvm_mmu_page_fault(vcpu, gpa, PFERR_RSVD_MASK, NULL, 0);
|