summary refs log tree commit diff stats
path: root/tests/migration/guestperf/progress.py
diff options
context:
space:
mode:
authorHyman Huang <yong.huang@smartx.com>2023-11-01 22:04:04 +0800
committerJuan Quintela <quintela@redhat.com>2023-11-03 07:48:25 +0100
commitcce10a1f0c827653c00e81b6d7865cf974275994 (patch)
treefdaf03f4d004287d69211dfff0aeb47f7382d598 /tests/migration/guestperf/progress.py
parentd762bf97931b58839316b68a570eecc6143c9e3e (diff)
downloadfocaccia-qemu-cce10a1f0c827653c00e81b6d7865cf974275994.tar.gz
focaccia-qemu-cce10a1f0c827653c00e81b6d7865cf974275994.zip
system/dirtylimit: Fix a race situation
Fix a race situation for global variable dirtylimit_state.

Also, replace usleep by g_usleep to increase platform
accessibility to the sleep function.

Signed-off-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <27c86239e21eda03d11ce5a3d07da3c229f562e3.1698847223.git.yong.huang@smartx.com>
Diffstat (limited to 'tests/migration/guestperf/progress.py')
0 files changed, 0 insertions, 0 deletions