[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 1/4] migration: introduce 'background-snapshot' migration
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v6 1/4] migration: introduce 'background-snapshot' migration capability |
Date: |
Thu, 10 Dec 2020 13:52:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Andrey Gruzdev via <qemu-devel@nongnu.org> writes:
> Add new capability to 'qapi/migration.json' schema.
> Update migrate_caps_check() to validate enabled capability set
> against introduced one. Perform checks for required kernel features
> and compatibility with guest memory backends.
>
> Signed-off-by: Andrey Gruzdev <andrey.gruzdev@virtuozzo.com>
> Reviewed-by: Peter Xu <peterx@redhat.com>
[...]
> diff --git a/qapi/migration.json b/qapi/migration.json
> index 3c75820527..6291143678 100644
> --- a/qapi/migration.json
> +++ b/qapi/migration.json
> @@ -442,6 +442,11 @@
> # @validate-uuid: Send the UUID of the source to allow the destination
> # to ensure it is the same. (since 4.2)
> #
> +# @background-snapshot: If enabled, the migration stream will be a snapshot
> +# of the VM exactly at the point when the migration
> +# procedure starts. The VM RAM is saved with running
> VM.
> +# (since 6.0)
> +#
> # Since: 1.2
> ##
> { 'enum': 'MigrationCapability',
> @@ -449,7 +454,7 @@
> 'compress', 'events', 'postcopy-ram', 'x-colo', 'release-ram',
> 'block', 'return-path', 'pause-before-switchover', 'multifd',
> 'dirty-bitmaps', 'postcopy-blocktime', 'late-block-activate',
> - 'x-ignore-shared', 'validate-uuid' ] }
> + 'x-ignore-shared', 'validate-uuid', 'background-snapshot'] }
>
> ##
> # @MigrationCapabilityStatus:
Acked-by: Markus Armbruster <armbru@redhat.com>
- [PATCH v6 0/4] migration: UFFD write-tracking migration/snapshots, Andrey Gruzdev, 2020/12/09
- [PATCH v6 1/4] migration: introduce 'background-snapshot' migration capability, Andrey Gruzdev, 2020/12/09
- Re: [PATCH v6 1/4] migration: introduce 'background-snapshot' migration capability,
Markus Armbruster <=
- [PATCH v6 2/4] migration: introduce UFFD-WP low-level interface helpers, Andrey Gruzdev, 2020/12/09
- [PATCH v6 3/4] migration: support UFFD write fault processing in ram_save_iterate(), Andrey Gruzdev, 2020/12/09
- [PATCH v6 4/4] migration: implementation of background snapshot thread, Andrey Gruzdev, 2020/12/09
- Re: [PATCH v6 0/4] migration: UFFD write-tracking migration/snapshots, Andrey Gruzdev, 2020/12/11
- Re: [PATCH v6 0/4] migration: UFFD write-tracking migration/snapshots, Andrey Gruzdev, 2020/12/15