diff options
Diffstat (limited to 'block-raw-posix.c')
-rw-r--r-- | block-raw-posix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/block-raw-posix.c b/block-raw-posix.c index 7c42c108e7..26819a4d8c 100644 --- a/block-raw-posix.c +++ b/block-raw-posix.c @@ -511,6 +511,9 @@ void qemu_aio_init(void) { sigset_t mask; + if (aio_initialized) + return; + aio_initialized = 1; /* Make sure to block AIO signal */ |