]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move TCP and haveTLS checks into qemuDomainDelChardevTLSObjects
authorJohn Ferlan <jferlan@redhat.com>
Wed, 20 Dec 2017 11:36:26 +0000 (06:36 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 21 Dec 2017 15:05:31 +0000 (10:05 -0500)
commit715b321da12f3fcd06afefb2b31448b65a68db34
tree816bee6e6541f229464898ddbfdfe50e0ef6baf0
parent10dcdfa32a3d60a2a89782b0e28b4aec2aa9a933
qemu: Move TCP and haveTLS checks into qemuDomainDelChardevTLSObjects

Similar to qemuDomainAddChardevTLSObjects let's move the chardev
source must be TCP and it has the @haveTLS flag set checks before
trying to delete the TLS objects.

For the Chr device this represents no change; however, for RNG device
this is an additionaly check that was missed in commit id '68808516'.
Before adding the objects, TCP and haveTLS are checked.
src/qemu/qemu_hotplug.c