mirror of
https://github.com/utmapp/qemu.git
synced 2026-05-26 13:51:06 +00:00
8a48520c17
With commit82137e6c8c("migration: enforce multifd and postcopy preempt to be set before incoming"), and if postcopy preempt / multifd is enabled, one cannot setup any capability because these checks would always fail. (qemu) migrate_set_capability xbzrle off Error: Postcopy preempt must be set before incoming starts To fix it, check existing cap and only raise an error if the specific cap changed. Fixes:82137e6c8c("migration: enforce multifd and postcopy preempt to be set before incoming") Reviewed-by: Dr. David Alan Gilbert <dave@treblig.org> Reviewed-by: Juraj Marcin <jmarcin@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> (cherry picked from commit17bec9235b) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>