]> Git Repo - qemu.git/commit
vhost-scsi: Call virtio_scsi_common_unrealize() when device realize failed
authorXie Yongji <[email protected]>
Wed, 17 Jul 2019 00:46:05 +0000 (08:46 +0800)
committerPaolo Bonzini <[email protected]>
Fri, 19 Jul 2019 17:04:49 +0000 (19:04 +0200)
commit934443c37befc9e268f5c661cb9552a2ee572e19
tree6639480b223301b2eee6a5d4cbad041ea0f2b3bd
parent12e1dc49395674960efec967ca4161428c08307a
vhost-scsi: Call virtio_scsi_common_unrealize() when device realize failed

This avoids memory leak when device hotplug is failed.

Signed-off-by: Xie Yongji <[email protected]>
Message-Id: <20190717004606[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/scsi/vhost-scsi.c
This page took 0.025965 seconds and 4 git commands to generate.