summaryrefslogtreecommitdiffstats
path: root/hw/spapr_pci.h
diff options
context:
space:
mode:
authorAvi Kivity2012-10-29 17:22:36 +0100
committerAnthony Liguori2012-10-29 20:32:00 +0100
commitd26a8caea3f160782841efb87b5e8bea606b512b (patch)
tree58dea0524d943c8df9caa7968d440d6a4bd32579 /hw/spapr_pci.h
parentMerge remote-tracking branch 'mst/tags/for_anthony' into staging (diff)
downloadqemu-d26a8caea3f160782841efb87b5e8bea606b512b.tar.gz
qemu-d26a8caea3f160782841efb87b5e8bea606b512b.tar.xz
qemu-d26a8caea3f160782841efb87b5e8bea606b512b.zip
memory: fix rendering of a region obscured by another
The memory core drops regions that are hidden by another region (for example, during BAR sizing), but it doesn't do so correctly if the lower address of the existing range is below the lower address of the new range. Example (qemu-system-mips -M malta -kernel vmlinux-2.6.32-5-4kc-malta -append "console=ttyS0" -nographic -vga cirrus): Existing range: 10000000-107fffff New range: 100a0000-100bffff Correct behaviour: drop new range Incorrect behaviour: add new range Fix by taking this case into account (previously we only considered equal lower boundaries). Tested-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/spapr_pci.h')
0 files changed, 0 insertions, 0 deletions