diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2016-10-31 09:53:03 -0600 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2016-11-02 18:19:01 -0500 |
commit | ca83f87a66d19fdaabf23d4f5ebb49396fe232c1 (patch) | |
tree | 12120cb058b4316016c9f63b196ee691bfd344d7 /target-sh4/translate.c | |
parent | 2817466c555d89c22bdd1ec8626bce09ee96922e (diff) | |
download | qemu-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