Received: from eggs.gnu.org ([2001:4830:134:3::10]:44228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAeL6-0003W4-Bd for qemu-devel@nongnu.org; Fri, 25 Jul 2014 08:11:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAeKu-0000mR-KK for qemu-devel@nongnu.org; Fri, 25 Jul 2014 08:11:08 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:58902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAeKu-0000m5-Bs for qemu-devel@nongnu.org; Fri, 25 Jul 2014 08:10:56 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 25 Jul 2014 13:10:53 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 295AF1B08023 for ; Fri, 25 Jul 2014 13:11:37 +0100 (BST) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps4075.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s6PCAqIj30146710 for ; Fri, 25 Jul 2014 12:10:52 GMT Received: from d06av08.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s6PCAqMF001841 for ; Fri, 25 Jul 2014 06:10:52 -0600 From: Cornelia Huck Date: Fri, 25 Jul 2014 14:10:45 +0200 Message-Id: <1406290248-11545-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH RFC 0/3] dataplane: dataplane: more graceful error handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Stefan Hajnoczi , Kevin Wolf Cc: Cornelia Huck Currently, qemu will take a hard exit if it fails to set up guest or host notifiers, giving no real clue as to what went wrong (e.g., when out of file descriptors). This patchset tries to make this more manageable: Both by improving the error message and by gracefully falling back to non-dataplane in case of errors. Patches are also available on git://github.com/cohuck/qemu dataplane-graceful-fail Thoughts? Cornelia Huck (3): dataplane: print why starting failed dataplane: fail notifier setting gracefully dataplane: stop trying on notifier error hw/block/dataplane/virtio-blk.c | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) -- 1.7.9.5