kvm: qemu: Do not allow AIO to be inited multiple times
commita22ca737171a66e09c86e0002d8f65d9c55c9acc
authoraliguori <aliguori>
Mon, 22 Sep 2008 14:49:01 +0000 (22 14:49 +0000)
committerAvi Kivity <avi@redhat.com>
Tue, 23 Sep 2008 08:54:11 +0000 (23 11:54 +0300)
tree37c5c0b127c644e0ba7250924e4d7688cc71b113
parentedda9a4dc919cb64e3ddeae314dc7e9f90b12e07
kvm: qemu: Do not allow AIO to be inited multiple times

This prevents two signalfd() threads from being spawned.  This problem was
originally spotted by Blue Swirl.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/block-raw-posix.c