Bug 645798 - Add drive readonly option to help output
Summary: Add drive readonly option to help output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.6
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 510612
TreeView+ depends on / blocked
 
Reported: 2010-10-22 13:46 UTC by Jiri Denemark
Modified: 2011-01-13 23:38 UTC (History)
6 users (show)

Fixed In Version: kvm-83-207.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-13 23:38:01 UTC
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0028 0 normal SHIPPED_LIVE Low: kvm security and bug fix update 2011-01-13 11:03:39 UTC

Description Jiri Denemark 2010-10-22 13:46:19 UTC
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-16 02:30:48 UTC
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 23:38:01 UTC
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.