[libvirt] [PATCH v2 06/12] qemuDomainDetachWatchdog: Don't release watchdog address twice

Ján Tomko jtomko at redhat.com
Sat May 26 08:29:47 UTC 2018


On Thu, May 24, 2018 at 01:13:33PM +0200, Michal Privoznik wrote:
>On watchdog unplug, when qemu doesn't support DEVICE_DELETED event
>(or couple of other reasons) we do two things:
>
>1) release watchdog device address,
>2) call qemuDomainRemoveWatchdog() which does 1) again.
>
>This is potentially dangerous.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_hotplug.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180526/13ce59cc/attachment-0001.sig>


More information about the libvir-list mailing list