diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2013-04-11 17:26:25 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-08-19 15:52:19 +0200 |
commit | f2e5dca46b5ba4588c0756c5f272123585cbbf23 (patch) | |
tree | 693159f35caa1c23a53326638eb72f925d5a513d /block/ssh.c | |
parent | 1b9ecdb16475485dffbcac7ff7f36dafa9e3cfd2 (diff) |
aio: drop io_flush argument
The .io_flush() handler no longer exists and has no users. Drop the
io_flush argument to aio_set_fd_handler() and related functions.
The AioFlushEventNotifierHandler and AioFlushHandler typedefs are no
longer used and are dropped too.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/ssh.c')
-rw-r--r-- | block/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/ssh.c b/block/ssh.c index e149da9c14..27691b4ad5 100644 --- a/block/ssh.c +++ b/block/ssh.c @@ -758,13 +758,13 @@ static coroutine_fn void set_fd_handler(BDRVSSHState *s) DPRINTF("s->sock=%d rd_handler=%p wr_handler=%p", s->sock, rd_handler, wr_handler); - qemu_aio_set_fd_handler(s->sock, rd_handler, wr_handler, NULL, co); + qemu_aio_set_fd_handler(s->sock, rd_handler, wr_handler, co); } static coroutine_fn void clear_fd_handler(BDRVSSHState *s) { DPRINTF("s->sock=%d", s->sock); - qemu_aio_set_fd_handler(s->sock, NULL, NULL, NULL, NULL); + qemu_aio_set_fd_handler(s->sock, NULL, NULL, NULL); } /* A non-blocking call returned EAGAIN, so yield, ensuring the |