* [Qemu-devel] [PATCH trivial] mention -b backing_file in qemu-img create subcommand
@ 2012-09-16 11:41 Michael Tokarev
2012-09-17 8:27 ` Kevin Wolf
0 siblings, 1 reply; 2+ messages in thread
From: Michael Tokarev @ 2012-09-16 11:41 UTC (permalink / raw)
To: qemu-devel; +Cc: Stefan Hajnoczi
The text describing `create' qemu-img subcommand refers to backing_file,
but it is not mentioned anywhere in the syntax for this subcommand.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx
index 39419a0..82c6e38 100644
--- a/qemu-img-cmds.hx
+++ b/qemu-img-cmds.hx
@@ -16,9 +16,9 @@ STEXI
ETEXI
DEF("create", img_create,
- "create [-f fmt] [-o options] filename [size]")
+ "create [-f fmt] [-o options] [-b backing_file] filename [size]")
STEXI
-@item create [-f @var{fmt}] [-o @var{options}] @var{filename} [@var{size}]
+@item create [-f @var{fmt}] [-o @var{options}] [-b @var{backing_file}] @var{filename} [@var{size}]
ETEXI
DEF("commit", img_commit,
diff --git a/qemu-img.texi b/qemu-img.texi
index 6b42e35..4fbf2ed 100644
--- a/qemu-img.texi
+++ b/qemu-img.texi
@@ -92,7 +92,7 @@ wrong fix or hiding corruption that has already occured.
Only the formats @code{qcow2}, @code{qed} and @code{vdi} support
consistency checks.
-@item create [-f @var{fmt}] [-o @var{options}] @var{filename} [@var{size}]
+@item create [-f @var{fmt}] [-o @var{options}] [-b @var{backing_file}] @var{filename} [@var{size}]
Create the new disk image @var{filename} of size @var{size} and format
@var{fmt}. Depending on the file format, you can add one or more @var{options}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH trivial] mention -b backing_file in qemu-img create subcommand
2012-09-16 11:41 [Qemu-devel] [PATCH trivial] mention -b backing_file in qemu-img create subcommand Michael Tokarev
@ 2012-09-17 8:27 ` Kevin Wolf
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Wolf @ 2012-09-17 8:27 UTC (permalink / raw)
To: Michael Tokarev; +Cc: Stefan Hajnoczi, qemu-devel
Am 16.09.2012 13:41, schrieb Michael Tokarev:
> The text describing `create' qemu-img subcommand refers to backing_file,
> but it is not mentioned anywhere in the syntax for this subcommand.
>
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
No, -b is deprecated, you should be using -o backing_file=...
What description exactly are you talking about, qemu-img.texi? It says:
> @item create [-f @var{fmt}] [-o @var{options}] @var{filename} [@var{size}]
>
> Create the new disk image @var{filename} of size @var{size} and format
> @var{fmt}. Depending on the file format, you can add one or more @var{options}
> that enable additional features of this format.
>
> If the option @var{backing_file} is specified, then the image will record
> only the differences from @var{backing_file}.
Which for me seemed to be a pretty clear reference to -o
backing_file=..., but if it isn't, maybe we can rephrase it somehow.
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-17 8:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-16 11:41 [Qemu-devel] [PATCH trivial] mention -b backing_file in qemu-img create subcommand Michael Tokarev
2012-09-17 8:27 ` Kevin Wolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).