Skip to content

Commit ab247ce

Browse files
committed
x86 mmu allow probe requests
1 parent da83a97 commit ab247ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qemu/target/i386/excp_helper.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,9 @@ bool x86_cpu_tlb_fill(CPUState *cs, vaddr addr, int size,
681681

682682
env->retaddr = retaddr;
683683
if (handle_mmu_fault(cs, addr, size, access_type, mmu_idx)) {
684+
if (probe)
685+
return false;
684686
/* FIXME: On error in get_hphys we have already jumped out. */
685-
g_assert(!probe);
686687
raise_exception_err_ra(env, cs->exception_index,
687688
env->error_code, retaddr);
688689
}

0 commit comments

Comments
 (0)