[Qemu-devel] [PATCH 09/22] memory: assign MemoryRegionOps to all regions

2013-05-30 Thread Paolo Bonzini
This allows to remove the checks on section->readonly. Simply, write accesses to ROM will not be considered "direct" and will go through mr->ops without any special intervention. Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini --- memory.c |3 ++- 1 files changed, 2 insertions(

[Qemu-devel] [PATCH 09/22] memory: assign MemoryRegionOps to all regions

2013-05-24 Thread Paolo Bonzini
This allows to remove the checks on section->readonly. Write accesses to ROM will not be considered "direct" even in exec.c, and will go through mr->ops just like TCG does. Signed-off-by: Paolo Bonzini --- memory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/memory.c b