Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 645798 - Add drive readonly option to help output
Add drive readonly option to help output
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm (Show other bugs)
5.6
Unspecified Unspecified
low Severity medium
: rc
: ---
Assigned To: Jiri Denemark
Virtualization Bugs
:
Depends On:
Blocks: 510612
  Show dependency treegraph
 
Reported: 2010-10-22 09:46 EDT by Jiri Denemark
Modified: 2011-01-13 18:38 EST (History)
6 users (show)

See Also:
Fixed In Version: kvm-83-207.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-01-13 18:38:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Add-drive-readonly-option-to-help-output.patch (1.23 KB, patch)
2010-10-22 09:46 EDT, Jiri Denemark
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0028 normal SHIPPED_LIVE Low: kvm security and bug fix update 2011-01-13 06:03:39 EST

  None (edit)
Description Jiri Denemark 2010-10-22 09:46:19 EDT
Created attachment 455074 [details]
Add-drive-readonly-option-to-help-output.patch

Description of problem:

Since kvm-83-171, -drive supports readonly=on option but this is not reflected in -help.

Steps to Reproduce:
1. /usr/libexec/qemu-kvm -help
  
Actual results:

...
-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]
       [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]
       [,cache=writethrough|writeback|none|unsafe][,format=f][,serial=s]
       [,boot=on|off]
...

Expected results:

readonly=on|off should be there

Additional info:

Patch attached.
Comment 5 Miya Chen 2010-11-15 21:30:48 EST
Verified with kvm-83-207.el5, this problem has been fixed.

# /usr/libexec/qemu-kvm --help
......
-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]
       [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]
       [,cache=writethrough|writeback|none|unsafe][,format=f][,serial=s]
       [,boot=on|off][,readonly=on|off]
Comment 8 errata-xmlrpc 2011-01-13 18:38:01 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0028.html

Note You need to log in before you can comment on or make changes to this bug.