]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Introduce QEMU_DOMAIN_JOB_STATS_TYPE_SAVEDUMP
authorJohn Ferlan <jferlan@redhat.com>
Sat, 27 Jan 2018 16:01:25 +0000 (11:01 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 6 Feb 2018 12:37:21 +0000 (07:37 -0500)
commit9d73df98c245ec8cb6d35bae9c377641b355c91c
treeb13751380ca9dd732021fb017457711162a3b3a6
parent93412bb827b445704417277470773b3c5b467a1f
qemu: Introduce QEMU_DOMAIN_JOB_STATS_TYPE_SAVEDUMP

Add a TYPE_SAVEDUMP so that when coalescing stats for a save or
dump we don't needlessly try to get the mirror stats for a migration.
Other conditions can still use MIGRATION and SAVEDUMP interchangably
including usage of the @migStats field to fetch/store the data.

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c