Re: [PATCH v2] memory: Directly dispatch alias accesses on origin memory region

2020-08-30 Thread Paolo Bonzini
On 22/08/20 18:14, Philippe Mathieu-Daudé wrote: > There is an issue when accessing an alias memory region via the > memory_region_dispatch_read() / memory_region_dispatch_write() > calls. > > Since commit 2cdfcf272d ("memory: assign MemoryRegionOps to all > regions") we assign &unassigned_mem_ops

Re: [PATCH v2] memory: Directly dispatch alias accesses on origin memory region

2020-08-29 Thread Richard Henderson
On 8/22/20 9:14 AM, Philippe Mathieu-Daudé wrote: > There is an issue when accessing an alias memory region via the > memory_region_dispatch_read() / memory_region_dispatch_write() > calls. > > Since commit 2cdfcf272d ("memory: assign MemoryRegionOps to all > regions") we assign &unassigned_mem_op

[PATCH v2] memory: Directly dispatch alias accesses on origin memory region

2020-08-22 Thread Philippe Mathieu-Daudé
There is an issue when accessing an alias memory region via the memory_region_dispatch_read() / memory_region_dispatch_write() calls. Since commit 2cdfcf272d ("memory: assign MemoryRegionOps to all regions") we assign &unassigned_mem_ops to all MemoryRegions. The memory_region_init_alias() flow i