From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcD8X-0003Xn-Ar for qemu-devel@nongnu.org; Wed, 16 Sep 2015 09:52:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcD8W-00039D-Hg for qemu-devel@nongnu.org; Wed, 16 Sep 2015 09:52:37 -0400 From: "Daniel P. Berrange" Date: Wed, 16 Sep 2015 14:52:21 +0100 Message-Id: <1442411543-28513-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH v1 0/2] Remove use of QemuOpts from the nbd code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , qemu-block@nongnu.org The intent is for all the callers of the util/qemu-sockets.c APIs to be converted to use the QAPI SocketAddress variants, with the QemuOpts variants eventually being deleted entirely. With that in mind, this small series converts the NBD client and server to use the QAPI SocketAddress object. This only leaves the VNC server using QemuOpts for socket setup, which will be converted shortly. Daniel P. Berrange (2): nbd: convert to use the QAPI SocketAddress object qemu-nbd: convert to use the QAPI SocketAddress object block/nbd.c | 69 +++++++++++++++++++++------------------- qemu-nbd.c | 102 ++++++++++++++++++++++-------------------------------------- 2 files changed, 75 insertions(+), 96 deletions(-) -- 2.4.3