Bug 1024335

Summary: Manpage doesn't document -drive rerror/werror/readonly
Product: Red Hat Enterprise Linux 6 Reporter: Kevin Wolf <kwolf>
Component: qemu-kvmAssignee: Kevin Wolf <kwolf>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: bsarathy, chayang, juzhang, michen, mkenneth, qzhang, rbalakri, sluo, tlavigne, trichard, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.420.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1090362 (view as bug list) Environment:
Last Closed: 2014-10-14 06:53:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1090362    

Description Kevin Wolf 2013-10-29 12:30:07 UTC
The qemu manpage in RHEL 6 doesn't document the rerror/werror/readonly options
for -drive, even though these options are implemented. They should be added to
the manpage.

Comment 1 Miroslav Rezanina 2014-01-27 07:51:03 UTC
Fix included in qemu-kvm-0.12.1.2-2.420.el6

Comment 3 Chao Yang 2014-07-01 05:54:21 UTC
Steps to reproduce and verify this issue:
1. dump output of man qemu-kvm for fixed qemu-kvm and unfixed qemu-kvm
2. run diff on them

Tested with qemu-kvm-0.12.1.2-2.428.el6.x86_64 and qemu-kvm-0.12.1.2-2.415.el6.x86_64. Actual result is as below:

# diff -up qemu-kvm-man-old qemu-kvm-man
--- qemu-kvm-man-old	2014-07-01 13:49:01.385203252 +0800
+++ qemu-kvm-man	2014-07-01 13:43:02.638202102 +0800
@@ -168,6 +168,17 @@ OPTIONS
 	   addr=addr
 	       Specify the controller’s PCI address (if=virtio only).
 
+	   werror=action,rerror=action
+	       Specify which 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
+	       werror=enospc and rerror=report.
+
+	   readonly
+	       Open drive file as read-only. Guest write attempts will fail.
+


As per above, this issue has been fixed.

Comment 4 errata-xmlrpc 2014-10-14 06:53:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1490.html