From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcN2i-0005nj-So for qemu-devel@nongnu.org; Wed, 25 Feb 2009 11:55:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcN2h-0005mN-9z for qemu-devel@nongnu.org; Wed, 25 Feb 2009 11:55:32 -0500 Received: from [199.232.76.173] (port=40183 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcN2h-0005mF-3e for qemu-devel@nongnu.org; Wed, 25 Feb 2009 11:55:31 -0500 Received: from qw-out-1920.google.com ([74.125.92.147]:38119) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LcN2g-000336-OP for qemu-devel@nongnu.org; Wed, 25 Feb 2009 11:55:30 -0500 Received: by qw-out-1920.google.com with SMTP id 4so99334qwk.4 for ; Wed, 25 Feb 2009 08:55:29 -0800 (PST) Message-ID: <49A577FD.60701@codemonkey.ws> Date: Wed, 25 Feb 2009 10:55:25 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [6388] Stop VM on ENOSPC error. References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gleb Natapov Anthony Liguori wrote: > Revision: 6388 > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6388 > Author: aliguori > Date: 2009-01-21 18:59:04 +0000 (Wed, 21 Jan 2009) > > Log Message: > ----------- > Stop VM on ENOSPC error. (Gleb Natapov) > > This version of the patch adds new option "werror" to -drive flag. > Possible values are: > > report - report errors to a guest as IO errors > ignore - continue as if nothing happened > stop - stop VM on any error and retry last command on resume > enospc - stop vm on ENOSPC error and retry last command on resume > all other errors are reported to a guest. > > Default is "report" to maintain current behaviour. > I recently got burnt by the default being "report". I was doing an installation and ran out of disk space. The guest did not do anything intelligible with the error reports and froze very hard (as you'd expect). Any objection to changing to default to enospc? Regards, Anthony Liguori > Signed-off-by: Gleb Natapov > Signed-off-by: Anthony Liguori >