summaryrefslogtreecommitdiff
path: root/target-sh4/translate.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2016-10-31 09:53:03 -0600
committerMichael Roth <mdroth@linux.vnet.ibm.com>2016-11-02 18:19:01 -0500
commitca83f87a66d19fdaabf23d4f5ebb49396fe232c1 (patch)
tree12120cb058b4316016c9f63b196ee691bfd344d7 /target-sh4/translate.c
parent2817466c555d89c22bdd1ec8626bce09ee96922e (diff)
downloadqemu-ca83f87a66d19fdaabf23d4f5ebb49396fe232c1.tar.gz
memory: Replace skip_dump flag with "ram_device"
Setting skip_dump on a MemoryRegion allows us to modify one specific code path, but the restriction we're trying to address encompasses more than that. If we have a RAM MemoryRegion backed by a physical device, it not only restricts our ability to dump that region, but also affects how we should manipulate it. Here we recognize that MemoryRegions do not change to sometimes allow dumps and other times not, so we replace setting the skip_dump flag with a new initializer so that we know exactly the type of region to which we're applying this behavior. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit 21e00fa55f3fdfcbb20da7c6876c91ef3609b387) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'target-sh4/translate.c')
0 files changed, 0 insertions, 0 deletions