From patchwork Thu Jul 7 16:04:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 103691 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 157171007D1 for ; Fri, 8 Jul 2011 02:23:16 +1000 (EST) Received: from localhost ([::1]:41205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QerM8-0008Tu-Ba for incoming@patchwork.ozlabs.org; Thu, 07 Jul 2011 12:23:12 -0400 Received: from eggs.gnu.org ([140.186.70.92]:40983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qer4U-0003yy-U0 for qemu-devel@nongnu.org; Thu, 07 Jul 2011 12:05:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qer4P-00075S-1j for qemu-devel@nongnu.org; Thu, 07 Jul 2011 12:04:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qer4O-00075N-Hp for qemu-devel@nongnu.org; Thu, 07 Jul 2011 12:04:52 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p67G4pQe012780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 7 Jul 2011 12:04:51 -0400 Received: from doriath (ovpn-113-129.phx2.redhat.com [10.3.113.129]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p67G4ow1030740; Thu, 7 Jul 2011 12:04:50 -0400 Date: Thu, 7 Jul 2011 13:04:49 -0300 From: Luiz Capitulino To: qemu-devel Message-ID: <20110707130449.5618db41@doriath> Organization: Red Hat Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: Kevin Wolf , Markus Armbruster Subject: [Qemu-devel] [PATCH] qemu-options.hx: Document werror and rerror -drive options X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Luiz Capitulino --- qemu-options.hx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index e6d7adc..5f16a78 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -160,6 +160,11 @@ an untrusted format header. This option specifies the serial number to assign to the device. @item addr=@var{addr} Specify the controller's PCI address (if=virtio only). +@item werror=@var{action},rerror=@var{action} +Specify which @var{action} to take on write and read errors. Valid actions are: +"ignore" (ignore the error and try to continue), "stop" (pause QEMU), +"enospc" (pause QEMU, but only on no space conditions), +"report" (report the error to the guest). @end table By default, writethrough caching is used for all block device. This means that