summary refs log tree commit diff stats
path: root/python/qemu/utils/qemu_ga_client.py
diff options
context:
space:
mode:
authorHyman Huang(黄勇) <yong.huang@smartx.com>2023-06-07 23:32:51 +0800
committerJuan Quintela <quintela@redhat.com>2023-07-26 10:55:56 +0200
commitbb9993c6725ac13098058f873efb06880ce46c32 (patch)
treee7c64d808bd89bcbb279037324f8094a4bf4fc85 /python/qemu/utils/qemu_ga_client.py
parentdc62395557b29312a9c2f9a1e0beece2557c3078 (diff)
downloadfocaccia-qemu-bb9993c6725ac13098058f873efb06880ce46c32.tar.gz
focaccia-qemu-bb9993c6725ac13098058f873efb06880ce46c32.zip
migration: Refactor auto-converge capability logic
Check if block migration is running before throttling
guest down in auto-converge way.

Note that this modification is kind of like code clean,
because block migration does not depend on auto-converge
capability, so the order of checks can be adjusted.

Signed-off-by: Hyman Huang(黄勇) <yong.huang@smartx.com>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <168618975839.6361.17407633874747688653-5@git.sr.ht>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'python/qemu/utils/qemu_ga_client.py')
0 files changed, 0 insertions, 0 deletions