From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qgjfs-0004RY-9W for qemu-devel@nongnu.org; Tue, 12 Jul 2011 16:35:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qgjfq-0006L4-FO for qemu-devel@nongnu.org; Tue, 12 Jul 2011 16:35:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qgjfq-0006Kr-0u for qemu-devel@nongnu.org; Tue, 12 Jul 2011 16:35:18 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6CKZHgw000755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 12 Jul 2011 16:35:17 -0400 From: Luiz Capitulino Date: Tue, 12 Jul 2011 17:35:08 -0300 Message-Id: <1310502910-23758-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1310502910-23758-1-git-send-email-lcapitulino@redhat.com> References: <1310502910-23758-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] qemu-options.hx: Document missing -drive options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, armbru@redhat.com They are 'werror', 'rerror' and 'readonly'. Signed-off-by: Luiz Capitulino --- qemu-options.hx | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index e6d7adc..64114dd 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -160,6 +160,14 @@ 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), +"report" (report the error to the guest), "enospc" (pause QEMU only if the +host disk is full; report the error to the guest otherwise). +The default setting is @option{werror=enospc} and @option{rerror=report}. +@item readonly +Open drive @option{file} as read-only. Guest write attempts will fail. @end table By default, writethrough caching is used for all block device. This means that -- 1.7.6.134.gcf13f