[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: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help. |
Date: |
Mon, 12 May 2014 18:36:43 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 <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)
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
pgpKww9nDpDmM.pgp
Description: PGP signature
- [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Mike Day, 2014/05/12
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Eric Blake, 2014/05/12
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Kevin Wolf, 2014/05/12
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Eric Blake, 2014/05/12
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Mike Day, 2014/05/12
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Eric Blake, 2014/05/12
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Mike Day, 2014/05/12
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Eric Blake, 2014/05/12
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help.,
Kevin Wolf <=
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Eric Blake, 2014/05/12
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Kevin Wolf, 2014/05/13
- Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help., Mike Day, 2014/05/12