]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_blockjob: Remove secdriver metadata more frequently v5.7.0-rc2
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 30 Aug 2019 12:34:12 +0000 (14:34 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Sat, 31 Aug 2019 08:11:37 +0000 (10:11 +0200)
commit16fb3c8b83fb39f9931e942f7d1738ffe024d234
tree7737fcbc9fd4ff41e1bc6e25916307040ccbe876
parent7f99d8a739c01a280ca0c173ecd6051a92f0c897
qemu_blockjob: Remove secdriver metadata more frequently

If a block job reaches failed/cancelled state, or is completed
without pivot then we must remove security driver metadata
associated to the backing chain so that we don't leave any
metadata behind.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1741456

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
ACKed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_blockjob.c