Received: from eggs.gnu.org ([140.186.70.92]:35168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJjVo-0008No-6s for qemu-devel@nongnu.org; Fri, 28 Oct 2011 06:18:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJjVm-0001MI-Gr for qemu-devel@nongnu.org; Fri, 28 Oct 2011 06:18:08 -0400 Received: from mail-qy0-f173.google.com ([209.85.216.173]:54587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJjVm-0001Lz-Ed for qemu-devel@nongnu.org; Fri, 28 Oct 2011 06:18:06 -0400 Received: by qyk10 with SMTP id 10so2997058qyk.4 for ; Fri, 28 Oct 2011 03:18:05 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 28 Oct 2011 12:17:53 +0200 Message-Id: <1319797077-25441-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] fix qemu-nbd -c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org qemu-nbd -c is another casualty of removing raw_read/raw_write. This series fixes it. Unfortunately, as a side effect of this qemu-nbd will have to daemonize before detecting all possible errors. For this reason patches 2 and 3 make qemu-nbd write errors to syslog when daemonized. Paolo Bonzini (4): qemu-nbd: exit if the child exits before a socket connection is established qemu-nbd: include our own err/errx implementation qemu-nbd: report errors to syslog when daemonized qemu-nbd: do not start the block layer in the parent qemu-nbd.c | 78 +++++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 59 insertions(+), 19 deletions(-) -- 1.7.6.4