]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Conditionally allow block-copy for persistent domains
authorPeter Krempa <pkrempa@redhat.com>
Tue, 6 Jun 2017 13:13:51 +0000 (15:13 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 7 Jun 2017 11:13:22 +0000 (13:13 +0200)
commitb7e534c651bfa28c65f7b11661b478613c96598c
tree1dcef833c2308ab6496a189874c05bedeccef643
parent49d30bc2e292785bf2edc121c12bc5c10264d1d4
qemu: Conditionally allow block-copy for persistent domains

Allow starting the block-copy job for a persistent domain if a user
declares by using a flag that the job will not be recovered if the VM is
switched off while the job is active.

This allows to use the block-copy job with persistent VMs under the same
conditions as would apply to transient domains.
include/libvirt/libvirt-domain.h
src/libvirt-domain.c
src/qemu/qemu_driver.c