aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src
diff options
context:
space:
mode:
authorAvihai Horon <avihaih@nvidia.com>2024-12-18 15:40:20 +0200
committerCédric Le Goater <clg@redhat.com>2024-12-26 07:23:38 +0100
commit7d5d9c8864f55983e5e9b9e6a8fd05440a80d48f (patch)
treef2afe0606d35d282db3524916c741caa337f5db6 /rust/qemu-api/src
parent1f21670ec0700575280bd6aa837eaa8d87fc98c1 (diff)
downloadqemu-7d5d9c8864f55983e5e9b9e6a8fd05440a80d48f.zip
qemu-7d5d9c8864f55983e5e9b9e6a8fd05440a80d48f.tar.gz
qemu-7d5d9c8864f55983e5e9b9e6a8fd05440a80d48f.tar.bz2
system/dirtylimit: Don't use migration_is_active()
vcpu_dirty_rate_stat_collect() uses migration_is_active() to detect whether migration is running or not, in order to get the correct dirty rate period value. However, recently there has been an effort to simplify the migration status API and reduce it to a single migration_is_running() function. To accommodate this, and since the same functionality can be achieved with migration_is_running(), use it instead of migration_is_active(). Signed-off-by: Avihai Horon <avihaih@nvidia.com> Reviewed-by: Hyman Huang <yong.huang@smartx.com> Tested-by: Joao Martins <joao.m.martins@oracle.com> Link: https://lore.kernel.org/r/20241218134022.21264-6-avihaih@nvidia.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions