nbd: convert qemu-nbd server to use I/O channels for connection setup
commitd0d6ff584d0f715ae5c9b934b1846c8760b298f0
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 10 Feb 2016 18:41:02 +0000 (10 18:41 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Feb 2016 16:13:40 +0000 (16 17:13 +0100)
tree65bd2f6fc3b281536a70954c43cf97679961c080
parent064097d919508e8636b220baedb52b382b9b07c6
nbd: convert qemu-nbd server to use I/O channels for connection setup

This converts the qemu-nbd server to use the QIOChannelSocket
class for initial listener socket setup and accepting of client
connections. Actual I/O is still being performed against the
socket file descriptor using the POSIX socket APIs.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1455129674-17255-5-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qemu-nbd.c