]> xenbits.xensource.com Git - libvirt.git/commit
qemuDomainAttachDeviceDiskLiveInternal: Add missing jump to 'cleanup' on error
authorPeter Krempa <pkrempa@redhat.com>
Tue, 21 Nov 2023 15:51:12 +0000 (16:51 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 23 Nov 2023 13:31:05 +0000 (14:31 +0100)
commitfe42189d760a91dede82b06cfac77d4b799ff117
tree7d60c0f31406fe46e378489357e1cd8ef6c2d8a6
parent16f8daf2dfcbd89e0e2e66c3a75e308c3e5ceb5b
qemuDomainAttachDeviceDiskLiveInternal: Add missing jump to 'cleanup' on error

Commit allowing hotplug of CDROMs moved the logic forbidding the hotplug
to the appropriate blocks based on the disk frontend but forgot to
actually bail out on such error.

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