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]>
