Re: [Qemu-devel] [PATCH 2/8] cpu: Define new cpu_transaction_failed() hook

2017-08-04 Thread Richard Henderson
On 08/04/2017 10:20 AM, Peter Maydell wrote: > Currently we have a rather half-baked setup for allowing CPUs to > generate exceptions on accesses to invalid memory: the CPU has a > cpu_unassigned_access() hook which the memory system calls in > unassigned_mem_write() and unassigned_mem_read() if th

[Qemu-devel] [PATCH 2/8] cpu: Define new cpu_transaction_failed() hook

2017-08-04 Thread Peter Maydell
Currently we have a rather half-baked setup for allowing CPUs to generate exceptions on accesses to invalid memory: the CPU has a cpu_unassigned_access() hook which the memory system calls in unassigned_mem_write() and unassigned_mem_read() if the current_cpu pointer is non-NULL. This was original