]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Drop priv->job.postcopyEnabled bool
authorJiri Denemark <jdenemar@redhat.com>
Wed, 21 Mar 2018 13:22:45 +0000 (14:22 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Apr 2018 08:46:23 +0000 (10:46 +0200)
commitea9aab38288b34562b2769fc282017e11f4fc2b8
tree674dc8b2cbe4896ce795b8f423b7760214f58cf3
parentceb4ff664bc31b2a23b8e97a39e2173eea74e338
qemu: Drop priv->job.postcopyEnabled bool

We store the flags passed to the API which started the migration. Let's
use them instead of a separate bool to check if post-copy migration was
requested.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c