Re: [PATCH v2 07/21] target/i386: allow access_ptr to force slow path on failed probe

2024-08-13 Thread Richard Henderson
On 8/14/24 06:23, Alex Bennée wrote: When we are using TCG plugin memory callbacks probe_access_internal will return TLB_MMIO to force the slow path for memory access. This results in probe_access returning NULL but the x86 access_ptr function happily accepts an empty haddr resulting in segfault

[PATCH v2 07/21] target/i386: allow access_ptr to force slow path on failed probe

2024-08-13 Thread Alex Bennée
When we are using TCG plugin memory callbacks probe_access_internal will return TLB_MMIO to force the slow path for memory access. This results in probe_access returning NULL but the x86 access_ptr function happily accepts an empty haddr resulting in segfault hilarity. Check for an empty haddr to