]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainSecretHostdevDestroy: Don't clear secinfo alias
authorPeter Krempa <pkrempa@redhat.com>
Fri, 10 Jul 2020 12:54:09 +0000 (14:54 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 17 Jul 2020 05:41:20 +0000 (07:41 +0200)
commit3aca4865a8c76d72ba936953078e18dc417b6c82
treef9b4c791ffc272f804518edfb70ffdc918ea93b3
parent6306f88df06ade5e5522817ceac2645fa4765775
qemuDomainSecretHostdevDestroy: Don't clear secinfo alias

We need the alias to deal with hot-unplug of the hostdev. Use
qemuDomainSecretInfoDestroy which clears only the secrets and not the
alias. The same function is used also for handling disk secrets.

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