Am 12.05.2014 um 18:32 hat Eric Blake geschrieben:
> On 05/12/2014 10:05 AM, Mike Day wrote:
> > On Mon, May 12, 2014 at 11:53 AM, Eric Blake <ebl...@redhat.com> 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)

What would qemu-img rebase do with -o? It is just for (safely) changing
the backing file, not for updating options. There is qemu-img amend for
that, and it does have an -o option.

Kevin

Attachment: pgpL1UDM8yeyL.pgp
Description: PGP signature

Reply via email to