• A
    memory: Replace skip_dump flag with "ram_device" · 21e00fa5
    Alex Williamson 提交于
    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: NAlex Williamson <alex.williamson@redhat.com>
    Acked-by: NPaolo Bonzini <pbonzini@redhat.com>
    21e00fa5
memory_mapping.c 10.5 KB