aboutsummaryrefslogtreecommitdiff
path: root/scripts/xml-preprocess.py
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2025-01-14 18:07:37 -0500
committerFabiano Rosas <farosas@suse.de>2025-01-29 11:56:40 -0300
commit40004007e67df3835fafeadf4f786ba4011a34b2 (patch)
tree2a8d1182eb7152d628cb00f7826f49bebdf1587e /scripts/xml-preprocess.py
parent89011a702f29545a0eac74328cd3c2974ecf2699 (diff)
downloadqemu-40004007e67df3835fafeadf4f786ba4011a34b2.zip
qemu-40004007e67df3835fafeadf4f786ba4011a34b2.tar.gz
qemu-40004007e67df3835fafeadf4f786ba4011a34b2.tar.bz2
migration: Adjust postcopy bandwidth during switchover
Precopy uses unlimited bandwidth always during switchover, it makes sense because this is so critical and no one would like to throttle bandwidth during the VM blackout. OTOH, postcopy surprisingly didn't do that. There's one line that in the middle of the postcopy switchover it tries to switch to postcopy's specified max-postcopy-bandwidth, but even so it's somewhere in the middle which is strange. This patch brings the two modes to always use unlimited bandwidth for switchover, meanwhile only apply the postcopy max bandwidth after the switchover is completed. Signed-off-by: Peter Xu <peterx@redhat.com> Tested-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Juraj Marcin <jmarcin@redhat.com> Link: https://lore.kernel.org/r/20250114230746.3268797-8-peterx@redhat.com Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions