Re: [PATCH v4 09/11] migration: update capability conflict test for postcopy-ram+mapped-ram

Juraj Marcin <[email protected]>
Newsgroups gmane.comp.emulators.qemu
Message-ID <anny7SztZXyLtfZq@fedora>
On 2026-08-01 08:06, Aadeshveer Singh wrote:
> Remove the test test_validate_caps_pair, which asserted postcopy-ram
> and mapped-ram capabilities cannot be active together. The new fast
> snapshot load feature is exactly this pair of capabilities active
> together, with the following patches in this series, this combination
> will now supported and be functional.
> 
> Remove the capability check that rejected mapped-ram and postcopy-ram
> being set simultaneously, as this combination now corresponds to fast
> snapshot load.
> 
> Add a capability check against setting multifd when configured for fast
> snapshot load as it is not supported yet. Also add capability check
> against setting postcopy-preempt as it is incompatible.
> 
> Add infrastructure to check postcopy_notifier_list being empty in
> capaility checking to block vhost-user with fast snapshot load as it is
> not supported.
> 
> A smoke test exercising this feature has been added further in this
> series.
> 
> Signed-off-by: Aadeshveer Singh <[email protected]>
> ---
>  include/qemu/notify.h              |  2 ++
>  migration/options.c                | 20 ++++++++++--
>  migration/postcopy-ram.c           |  5 +++
>  migration/postcopy-ram.h           |  1 +
>  tests/qtest/migration/misc-tests.c | 52 ------------------------------
>  util/notify.c                      |  5 +++
>  6 files changed, 31 insertions(+), 54 deletions(-)

Reviewed-by: Juraj Marcin <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.