summaryrefslogtreecommitdiffstats
path: root/include/exec/exec-all.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2015-07-30 15:29:59 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-30 15:45:07 +0200
commitaf103c9310b7ab56a2552965d9d1274b0024f27b (patch)
tree6766c15b9743f7aaf249b18a3c95c66e122d0b5e /include/exec/exec-all.h
parent975b66555cb56af453c6852e7e821e2451700527 (diff)
downloadhqemu-af103c9310b7ab56a2552965d9d1274b0024f27b.zip
hqemu-af103c9310b7ab56a2552965d9d1274b0024f27b.tar.gz
vhost/scsi: call vhost_dev_cleanup() at unrealize() time
vhost-scsi calls vhost_dev_init() at realize() time but forgets to call it's counterpart vhost_dev_cleanup() at unrealize() time. Calling it should fix leaking of memory table and mem_sections table in vhost device. And also unregister vhost's memory listerner to prevent access from memory core to freed memory. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <1438262999-287627-1-git-send-email-imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud