]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lib: Lessen restrictions on VIR_DOMAIN_START_AUTODESTROY
authorPeter Krempa <pkrempa@redhat.com>
Tue, 24 Sep 2019 12:55:15 +0000 (14:55 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Sep 2019 06:38:51 +0000 (08:38 +0200)
commit1172ea4fa95da6541d0a4be14168e85bc4e66dcd
tree1d3b1d8f11524b77f45e6d35a61f44d5bb27d0a7
parente636fd94ba870a8fd346f9c2ed05a13516542cab
lib: Lessen restrictions on VIR_DOMAIN_START_AUTODESTROY

Apart from migrating the VM to a remote host where we can't honour the
VIR_DOMAIN_START_AUTODESTROY flag properly, restricting APIs which just
modify the state of the VM does not make much sense.

Change the wording of the documentation for VIR_DOMAIN_START_AUTODESTROY
so that snapshots and saving to a file may be permitted as they
semantically don't clash with the flag itself. Otherwise we'd have to
forbid other APIs, such as virDomainDestroy as well.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/libvirt-domain.c