qemu-e2k/migration
Max Reitz 31e4c354b3 migration: Add block-bitmap-mapping parameter
This migration parameter allows mapping block node names and bitmap
names to aliases for the purpose of block dirty bitmap migration.

This way, management tools can use different node and bitmap names on
the source and destination and pass the mapping of how bitmaps are to be
transferred to qemu (on the source, the destination, or even both with
arbitrary aliases in the migration stream).

While touching this code, fix a bug where bitmap names longer than 255
bytes would fail an assertion in qemu_put_counted_string().

Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200820150725.68687-2-mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
2020-08-21 08:56:09 -05:00
..
block-dirty-bitmap.c migration: Add block-bitmap-mapping parameter 2020-08-21 08:56:09 -05:00
block.c
block.h
channel.c
channel.h
colo-failover.c
colo.c
exec.c
exec.h
fd.c
fd.h
global_state.c
meson.build meson: convert migration directory to Meson 2020-08-21 06:30:23 -04:00
migration.c migration: Add block-bitmap-mapping parameter 2020-08-21 08:56:09 -05:00
migration.h migration: Add block-bitmap-mapping parameter 2020-08-21 08:56:09 -05:00
multifd-zlib.c
multifd-zstd.c
multifd.c
multifd.h
page_cache.c
page_cache.h
postcopy-ram.c virtio,acpi: features, fixes, cleanups. 2020-07-07 17:37:44 +01:00
postcopy-ram.h
qemu-file-channel.c
qemu-file-channel.h
qemu-file.c osdep: Make MIN/MAX evaluate arguments only once 2020-06-26 09:39:39 -04:00
qemu-file.h
qjson.c
qjson.h
ram.c cpu-throttle: new module, extracted from cpus.c 2020-07-10 18:04:49 -04:00
ram.h
rdma.c virtio,acpi: features, fixes, cleanups. 2020-07-07 17:37:44 +01:00
rdma.h
savevm.c migration/savevm: don't worry if bitmap migration postcopy failed 2020-07-27 15:41:34 -05:00
savevm.h
socket.c
socket.h
tls.c
tls.h
trace-events
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vmstate-types.c
vmstate.c
xbzrle.c
xbzrle.h