From fc7eaf7f77a48452ef10c5fc5e4f62c5ae1cdb06 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 12 Mar 2018 13:27:02 -0400 Subject: [PATCH] target/i386/svm_helper: Perform comparison pass with qemu Keep code and formatting in sync where applicable --- qemu/target/i386/svm_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/target/i386/svm_helper.c b/qemu/target/i386/svm_helper.c index 34e38b4e..f6cd2bbe 100644 --- a/qemu/target/i386/svm_helper.c +++ b/qemu/target/i386/svm_helper.c @@ -581,6 +581,7 @@ void cpu_vmexit(CPUX86State *env, uint32_t exit_code, uint64_t exit_info_1, x86_ldq_phys(cs, env->vm_vmcb + offsetof(struct vmcb, control.exit_info_2)), env->eip); + cs->exception_index = EXCP_VMEXIT + exit_code; env->error_code = exit_info_1;