diff options
author | Peter Xu <peterx@redhat.com> | 2025-05-13 17:33:16 -0400 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2025-05-20 13:05:22 -0400 |
commit | 17bec9235bb0775cf8dec4103c167757ee8898f3 (patch) | |
tree | 85197b153ff2bcf58f9a916d164d08cf483b0754 /python | |
parent | 6be7696129b302830a9cff7e30484e08c2d64b57 (diff) | |
download | qemu-17bec9235bb0775cf8dec4103c167757ee8898f3.zip qemu-17bec9235bb0775cf8dec4103c167757ee8898f3.tar.gz qemu-17bec9235bb0775cf8dec4103c167757ee8898f3.tar.bz2 |
migration: Allow caps to be set when preempt or multifd cap enabled
With commit 82137e6c8c ("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>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions