diff options
Diffstat (limited to 'migration/ram.c')
-rw-r--r-- | migration/ram.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/migration/ram.c b/migration/ram.c index 8a6ad61d3d..8622b4dc49 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -3426,7 +3426,6 @@ static int ram_save_setup(QEMUFile *f, void *opaque) } if (migrate_ignore_shared()) { qemu_put_be64(f, block->mr->addr); - qemu_put_byte(f, ramblock_is_ignored(block) ? 1 : 0); } } @@ -4393,12 +4392,6 @@ static int ram_load(QEMUFile *f, void *opaque, int version_id) } if (migrate_ignore_shared()) { hwaddr addr = qemu_get_be64(f); - bool ignored = qemu_get_byte(f); - if (ignored != ramblock_is_ignored(block)) { - error_report("RAM block %s should %s be migrated", - id, ignored ? "" : "not"); - ret = -EINVAL; - } if (ramblock_is_ignored(block) && block->mr->addr != addr) { error_report("Mismatched GPAs for block %s " |