OSDN Git Service

exec: do not use error_mem_read
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 May 2013 12:39:13 +0000 (14:39 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 May 2013 14:26:44 +0000 (16:26 +0200)
commitbf8d5166395612b4e856fad57606eb0cff97ae2e
treec6ef0cd5a6594cea466a484e319f8b6e5151b361
parent0844e007624acb6dbf45bfb232286ce9502b424e
exec: do not use error_mem_read

We will soon reach this case when doing (unaligned) accesses that
span partly past the end of memory.  We do not want to crash in
that case.

unassigned_mem_ops and rom_mem_ops are now the same.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c