summaryrefslogtreecommitdiff
path: root/block-raw-posix.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-17 06:49:15 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-17 06:49:15 +0000
commit18c7b13335523fd4e2f9e1227022cc88c1855655 (patch)
treee2246e27cdc0e2d09474a89b68517e9379ecf7c0 /block-raw-posix.c
parent37f9e089d4e67ebff1c246088fd058ff2d1ed9bd (diff)
downloadqemu-18c7b13335523fd4e2f9e1227022cc88c1855655.tar.gz
qemu-18c7b13335523fd4e2f9e1227022cc88c1855655.tar.bz2
qemu-18c7b13335523fd4e2f9e1227022cc88c1855655.zip
Use kill instead of sigqueue: re-enables AIO on OpenBSD
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6360 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-raw-posix.c')
-rw-r--r--block-raw-posix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block-raw-posix.c b/block-raw-posix.c
index f00ef423af..9e3d66f4ca 100644
--- a/block-raw-posix.c
+++ b/block-raw-posix.c
@@ -579,8 +579,7 @@ static RawAIOCB *raw_aio_setup(BlockDriverState *bs,
if (!acb)
return NULL;
acb->aiocb.aio_fildes = s->fd;
- acb->aiocb.aio_sigevent.sigev_signo = SIGUSR2;
- acb->aiocb.aio_sigevent.sigev_notify = SIGEV_SIGNAL;
+ acb->aiocb.sigev_signo = SIGUSR2;
acb->aiocb.aio_buf = buf;
if (nb_sectors < 0)
acb->aiocb.aio_nbytes = -nb_sectors;