qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help.
Date: Mon, 12 May 2014 10:32:26 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 05/12/2014 10:05 AM, Mike Day wrote:
> On Mon, May 12, 2014 at 11:53 AM, Eric Blake <address@hidden> wrote:
>> Ah, but it is:
>>
>> $ qemu-img create -f qcow2 -o help
>> Supported options:
>> size             Virtual disk size
>> compat           Compatibility level (0.10 or 1.1)
>> backing_file     File name of a base image
>> backing_fmt      Image format of the base image
>> encryption       Encrypt the image
>> cluster_size     qcow2 cluster size
>> preallocation    Preallocation mode (allowed values: off, metadata)
>> lazy_refcounts   Postpone refcount updates
>>
>> and more importantly, it only appears in the help output of -f modes
>> that actually support a backing file.  Contrast:
>>
>> $ qemu-img create -f raw -o help
>> Supported options:
>> size             Virtual disk size
> 
> This is much more prominent in the top-level help:
> 
> rebase [-q] [-f fmt] [-t cache] [-p] [-u] -b backing_file [-F
> backing_fmt] filename

'rebase' lacks -o; so it must continue to document -b.  This thread was
started in context to the 'create' subcommand, not the 'rebase'
subcommand.  (Arguably, we may need to add -o to rebase someday, but
that's not for this patch)

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]