qemu-nbd: remove unnecessary qemu_notify_event()
commit06832648e1dbd268d7b719b9a49df476af689c6d
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Jul 2015 11:52:55 +0000 (27 13:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Aug 2015 21:40:32 +0000 (14 23:40 +0200)
treead143182f0c467bd9aa13efb0f04943a42f469e4
parentfe2d1a81d96e8ffe74974bd4b3ebc608f1f6a25d
qemu-nbd: remove unnecessary qemu_notify_event()

This was needed when qemu-nbd was using qemu_set_fd_handler2.  It is
not needed anymore now that nbd_update_server_fd_handler is called
whenever nbd_can_accept() can change from false to true.
nbd_update_server_fd_handler will call qemu_set_fd_handler(),
which will call qemu_notify_event().

Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qemu-nbd.c