Skip to content

Commit f13b978

Browse files
committed
Merge tag 'migration-20231031-pull-request' of https://gitlab.com/juan.quintela/qemu into staging
Migration Pull request (20231031) Hi This is repeat of the Migration PULL for 20231020. - I removed vmstate_register(big problems with s390x) - I added yet more countes (juan) CI: https://gitlab.com/juan.quintela/qemu/-/pipelines/1055797950 Please apply. Thanks, Juan. # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCAAdFiEEGJn/jt6/WMzuA0uC9IfvGFhy1yMFAmVAwmYACgkQ9IfvGFhy # 1yPJ9g//f8Up+5Az0DmJMWwRe+08vLa3ZRCSh5aCRJguFVfMZSVxRNuoikQ/C/Gz # 1ePB+Q8H0NcP86FF7pifhtLU0uE9L4At4Z+vOQP1+n67p7aush050kKQxyDYIfO2 # 3tO2HkfHvC/R3S5FtqQtE1Y0/MpHdj1vgV9bNidPorA6EZ01KEEfWw3soptuD14I # LPvXA8BG5mOvB7R55MymTAej3ZDmOUQlZotsE2KmlkOfzYoqTtApkLtW03/WH8b8 # fAYJ0ghYpesRTO1rF61n1peLMUr+/HRLqGJmhLDSEZZlB5tnUYeiLR9dRJ1/1+o2 # zNjLr6X2hnia6Kb0UibRoAcyyy8lSLp79Zt5nhDneuTSQxeYhNh6EecxAzKvd/02 # vfE/reOEkZn7KzYH/MvlD5P6XmwrT5aV9cqmyC/8BkNnipHAtJ2Av1H4ONdnahuK # hOhLRAGE7SINtgo8jdauQNor1QAsIX19nvYk9p7ta5VAysrDSbuD+9Yq7HtUErlP # 585z5BPGfaP2GwIXPNJNcqXwPh0InInGASqEWmYSlu8GF3Ic0KNWWrC5bwSn7tHL # I7qaMrCHxvWGYx6cRzzp08EqCcbOQCixrPyk8g6o3SgXHrTGKthzjPG5bLe+QXpv # P2gblC7Fo3sUo89IwVjsRMO3nU9wBfb9skE7iZM06SILO7QD3u8= # =r1DI # -----END PGP SIGNATURE----- # gpg: Signature made Tue 31 Oct 2023 18:01:26 JST # gpg: using RSA key 1899FF8EDEBF58CCEE034B82F487EF185872D723 # gpg: Good signature from "Juan Quintela <quintela@redhat.com>" [full] # gpg: aka "Juan Quintela <quintela@trasno.org>" [full] # Primary key fingerprint: 1899 FF8E DEBF 58CC EE03 4B82 F487 EF18 5872 D723 * tag 'migration-20231031-pull-request' of https://gitlab.com/juan.quintela/qemu: (38 commits) qemu-file: Make qemu_fflush() return errors migration: Remove transferred atomic counter migration: Use migration_transferred_bytes() qemu-file: Simplify qemu_file_get_error() migration: migration_rate_limit_reset() don't need the QEMUFile migration: migration_transferred_bytes() don't need the QEMUFile qemu-file: Remove _noflush from qemu_file_transferred_noflush() qemu_file: Remove unused qemu_file_transferred() migration: Use the number of transferred bytes directly qemu_file: total_transferred is not used anymore qemu_file: Use a stat64 for qemu_file_transferred qemu-file: Don't increment qemu_file_transferred at qemu_file_fill_buffer migration: Stop migration immediately in RDMA error paths migration: Deprecate old compression method migration: Deprecate block migration migration: migrate 'blk' command option is deprecated. migration: migrate 'inc' command option is deprecated. qemu-iotests: Filter warnings about block migration being deprecated migration: set file error on subsection loading migration: rename vmstate_save_needed->vmstate_section_needed ... Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2 parents 516fffc + be07a0e commit f13b978

File tree

23 files changed

+880
-276
lines changed

23 files changed

+880
-276
lines changed

docs/about/deprecated.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,3 +469,38 @@ Migration
469469
``skipped`` field in Migration stats has been deprecated. It hasn't
470470
been used for more than 10 years.
471471

472+
``inc`` migrate command option (since 8.2)
473+
''''''''''''''''''''''''''''''''''''''''''
474+
475+
Use blockdev-mirror with NBD instead.
476+
477+
As an intermediate step the ``inc`` functionality can be achieved by
478+
setting the ``block-incremental`` migration parameter to ``true``.
479+
But this parameter is also deprecated.
480+
481+
``blk`` migrate command option (since 8.2)
482+
''''''''''''''''''''''''''''''''''''''''''
483+
484+
Use blockdev-mirror with NBD instead.
485+
486+
As an intermediate step the ``blk`` functionality can be achieved by
487+
setting the ``block`` migration capability to ``true``. But this
488+
capability is also deprecated.
489+
490+
block migration (since 8.2)
491+
'''''''''''''''''''''''''''
492+
493+
Block migration is too inflexible. It needs to migrate all block
494+
devices or none.
495+
496+
Please see "QMP invocation for live storage migration with
497+
``blockdev-mirror`` + NBD" in docs/interop/live-block-operations.rst
498+
for a detailed explanation.
499+
500+
old compression method (since 8.2)
501+
''''''''''''''''''''''''''''''''''
502+
503+
Compression method fails too much. Too many races. We are going to
504+
remove it if nobody fixes it. For starters, migration-test
505+
compression tests are disabled becase they fail randomly. If you need
506+
compression, use multifd compression methods.

0 commit comments

Comments
 (0)