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 <xiaw...@linux.vnet.ibm.com> > --- > 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