]> xenbits.xensource.com Git - libvirt.git/commitdiff
man: clarify usage of virsh blockcopy with --xml
authorJán Tomko <jtomko@redhat.com>
Mon, 15 Jun 2015 12:08:05 +0000 (14:08 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 15 Jun 2015 15:05:17 +0000 (17:05 +0200)
The --xml option is mandatory if an XML description is used.
Otherwise the third parameter is treated as the destination.

https://bugzilla.redhat.com/show_bug.cgi?id=1206406#c3

tools/virsh.pod

index 9b57c8cbf352754fdbc99e57f564b30f932fc52b..154922e3b25ecf73dd7561be1c7371a9bdb045b6 100644 (file)
@@ -989,12 +989,12 @@ unlimited. The hypervisor can choose whether to reject the value or
 convert it to the maximum value allowed.
 
 =item B<blockcopy> I<domain> I<path> { I<dest> [I<format>] [I<--blockdev>]
-| I<xml> } [I<--shallow>] [I<--reuse-external>] [I<bandwidth>]
+| I<--xml> B<file> } [I<--shallow>] [I<--reuse-external>] [I<bandwidth>]
 [I<--wait> [I<--async>] [I<--verbose>]] [{I<--pivot> | I<--finish>}]
 [I<--timeout> B<seconds>] [I<granularity>] [I<buf-size>]
 
 Copy a disk backing image chain to a destination.  Either I<dest> as
-the destination file name, or I<xml> as the name of an XML file containing
+the destination file name, or I<--xml> with the name of an XML file containing
 a top-level <disk> element describing the destination, must be present.
 Additionally, if I<dest> is given, I<format> should be specified to declare
 the format of the destination (if I<format> is omitted, then libvirt