From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf6Df-0007Dz-DQ for qemu-devel@nongnu.org; Fri, 08 Jul 2011 04:15:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf6De-0002wz-9i for qemu-devel@nongnu.org; Fri, 08 Jul 2011 04:15:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf6Dd-0002wo-Qv for qemu-devel@nongnu.org; Fri, 08 Jul 2011 04:15:26 -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 p688FOM6026845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 8 Jul 2011 04:15:24 -0400 Message-ID: <4E16BD49.80708@redhat.com> Date: Fri, 08 Jul 2011 10:18:17 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <20110707130449.5618db41@doriath> In-Reply-To: <20110707130449.5618db41@doriath> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qemu-options.hx: Document werror and rerror -drive options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel , Markus Armbruster Am 07.07.2011 18:04, schrieb Luiz Capitulino: > > 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), Maybe "pause QEMU only if the host disk is full; report the error to the guest otherwise"? > +"report" (report the error to the guest). > @end table > > By default, writethrough caching is used for all block device. This means that We should mention that werror=enospc and rerror=report is the default. Kevin