projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d45f8b
)
posix-aio-compat: Fix async_conmtext for ioctl
author
Andrew de Quincey
<adq@lidskialf.net>
Sun, 8 Aug 2010 20:04:50 +0000
(21:04 +0100)
committer
Kevin Wolf
<kwolf@redhat.com>
Mon, 30 Aug 2010 16:29:22 +0000
(18:29 +0200)
Set the async_context_id field when queuing an async ioctl call
Signed-off-by: Andrew de Quincey <adq@lidskialf.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
posix-aio-compat.c
patch
|
blob
|
history
diff --git
a/posix-aio-compat.c
b/posix-aio-compat.c
index a67ffe3113c3a81b385b52f769fda3fab57e4c87..efc59683c03e79613587bdd9ec80d9a400a321f3 100644
(file)
--- a/
posix-aio-compat.c
+++ b/
posix-aio-compat.c
@@
-599,6
+599,7
@@
BlockDriverAIOCB *paio_ioctl(BlockDriverState *bs, int fd,
acb->aio_type = QEMU_AIO_IOCTL;
acb->aio_fildes = fd;
acb->ev_signo = SIGUSR2;
+ acb->async_context_id = get_async_context_id();
acb->aio_offset = 0;
acb->aio_ioctl_buf = buf;
acb->aio_ioctl_cmd = req;