]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow skipping the revoke step in qemuDomainStorageSourceAccessModify
authorPeter Krempa <pkrempa@redhat.com>
Thu, 18 Apr 2019 14:10:52 +0000 (16:10 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 9 May 2019 13:55:36 +0000 (15:55 +0200)
commitf50d1b7f498016c328b3007384404c31aa5d5764
tree139f18d51ae31ab4a8dea80c57ecd949653292d6
parent657216b60df05a0ce0b0033f3838e9b87ca04c17
qemu: Allow skipping the revoke step in qemuDomainStorageSourceAccessModify

In some cases when we need to modify access permissions for a storage
source which is already used by the VM we should not revoke all
permissions on a failure. Allow this in qemuDomainStorageSourceAccessModify
by adding a new flag.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c