diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2009-09-16 13:40:37 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 09:32:50 -0500 |
commit | e489030df2448d22b3cb92fd5dcb22c6fa0fc9e1 (patch) | |
tree | fa7fbf08a1d4ba2d303b93bbbaa2224421cc68b9 /block/cloop.c | |
parent | 7f23f812c49da6d6fe03bcd4bc2d07341e93db11 (diff) |
qemu/virtio: fix reset with device removal
virtio pci registers its own reset handler, but fails to unregister it,
which will lead to crashes after device removal. Solve this problem by
switching to qdev reset handler, which is automatically unregistered.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block/cloop.c')
0 files changed, 0 insertions, 0 deletions