summaryrefslogtreecommitdiffstats
path: root/envlist.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2011-11-30 16:26:21 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-15 09:27:23 -0600
commit56384e8b1eebac750e6186f5041af710433ddc9e (patch)
tree978f8b20d21e626cd5b94a76ce4b701381098988 /envlist.c
parent15d37e709fa809f1b64d3ad81965f3d8200e828a (diff)
downloadhqemu-56384e8b1eebac750e6186f5041af710433ddc9e.zip
hqemu-56384e8b1eebac750e6186f5041af710433ddc9e.tar.gz
exec.c: Fix subpage memory access to RAM MemoryRegion
Commit 95c318f5e1f88d7e5bcc6deac17330fd4806a2d3 (Fix segfault in mmio subpage handling code.) prevented a segfault by making all subpage registrations over an existing memory page perform an unassigned access. Symptoms were writes not taking effect and reads returning zero. Very small page sizes are not currently supported either, so subpage memory areas cannot fully be avoided. Therefore change the previous fix to use a new IO_MEM_SUBPAGE_RAM instead of IO_MEM_UNASSIGNED. Suggested by Avi. Reviewed-by: Avi Kivity <avi@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Cc: Avi Kivity <avi@redhat.com> Cc: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'envlist.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud