diff options
| author | Stefan Hajnoczi | 2014-05-08 16:34:48 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-06-04 09:56:11 +0200 |
| commit | abd269b7cf1f084a067731acb8f3272c193cb5f0 (patch) | |
| tree | 62f15b0771a9e495eb90be2621e0c3df23060c6a /scripts | |
| parent | block/raw-posix: implement .bdrv_detach/attach_aio_context() (diff) | |
| download | qemu-abd269b7cf1f084a067731acb8f3272c193cb5f0.tar.gz qemu-abd269b7cf1f084a067731acb8f3272c193cb5f0.tar.xz qemu-abd269b7cf1f084a067731acb8f3272c193cb5f0.zip | |
block/linux-aio: fix memory and fd leak
Hot unplugging -drive aio=native,file=test.img,format=raw images leaves
the Linux AIO event notifier and struct qemu_laio_state allocated.
Luckily nothing will use the event notifier after the BlockDriverState
has been closed so the handler function is never called.
It's still worth fixing this resource leak.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
