[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V3 5/7] qemu-img: add -L for snapshot in convert
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH V3 5/7] qemu-img: add -L for snapshot in convert |
Date: |
Tue, 01 Oct 2013 08:54:51 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
On 09/25/2013 06:16 PM, Wenchao Xia wrote:
> Now qemu-img convert have similar options as qemu-nbd for internal
> snapshot.
>
> Signed-off-by: Wenchao Xia <address@hidden>
> ---
> qemu-img.c | 30 +++++++++++++++++++++---------
> 1 files changed, 21 insertions(+), 9 deletions(-)
>
> diff --git a/qemu-img.c b/qemu-img.c
> index 6df58ed..a784ad4 100644
> --- a/qemu-img.c
> +++ b/qemu-img.c
> @@ -1140,6 +1140,7 @@ static int img_convert(int argc, char **argv)
> int min_sparse = 8; /* Need at least 4k of zeros for sparse detection */
> bool quiet = false;
> Error *local_err = NULL;
> + QemuOpts *sn_opts = NULL;
>
> fmt = NULL;
> out_fmt = "raw";
> @@ -1148,7 +1149,7 @@ static int img_convert(int argc, char **argv)
> compress = 0;
> skip_create = 0;
> for(;;) {
> - c = getopt(argc, argv, "f:O:B:s:hce6o:pS:t:qn");
> + c = getopt(argc, argv, "f:O:B:s:hce6o:pS:t:qnL:");
New options should be documented in the same patch that introduces them.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH V3 5/7] qemu-img: add -L for snapshot in convert,
Eric Blake <=