memory: assign MemoryRegionOps to all regions
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 <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d197063fcf
commit
2cdfcf272d
Loading…
Reference in New Issue
Block a user