From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTdTO-0001bO-Mw for qemu-devel@nongnu.org; Thu, 05 Mar 2015 16:38:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTdTL-0005sO-Es for qemu-devel@nongnu.org; Thu, 05 Mar 2015 16:38:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTdTL-0005r5-7T for qemu-devel@nongnu.org; Thu, 05 Mar 2015 16:38:23 -0500 From: Stefan Hajnoczi Date: Thu, 5 Mar 2015 15:38:16 -0600 Message-Id: <1425591498-25131-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] block/raw-posix: fix launching with failed disks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , hare@suse.de, Stefan Hajnoczi Guests configured for multipath I/O might be started up with failed disks attached. QEMU should not refuse starting when a disk returns I/O errors (and in the past this behavior was implemented correctly). This patch series fixes a regression that prevents QEMU from opening failed disks and adds a qemu-iotests test case to cover this use case. Stefan Hajnoczi (2): block/raw-posix: fix launching with failed disks iotests: add O_DIRECT alignment probing test block/raw-posix.c | 29 ++++++++++++++-- tests/qemu-iotests/128 | 82 ++++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/128.out | 5 +++ tests/qemu-iotests/group | 1 + 4 files changed, 115 insertions(+), 2 deletions(-) create mode 100755 tests/qemu-iotests/128 create mode 100644 tests/qemu-iotests/128.out -- 2.1.0