diff options
author | Xie Yongji <xieyongji@baidu.com> | 2019-07-17 08:46:05 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-19 19:04:49 +0200 |
commit | 934443c37befc9e268f5c661cb9552a2ee572e19 (patch) | |
tree | 6639480b223301b2eee6a5d4cbad041ea0f2b3bd /device_tree.c | |
parent | 12e1dc49395674960efec967ca4161428c08307a (diff) | |
download | qemu-934443c37befc9e268f5c661cb9552a2ee572e19.zip qemu-934443c37befc9e268f5c661cb9552a2ee572e19.tar.gz qemu-934443c37befc9e268f5c661cb9552a2ee572e19.tar.bz2 |
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 <xieyongji@baidu.com>
Message-Id: <20190717004606.12444-1-xieyongji@baidu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions