[libvirt] [PATCH 2/2] virsh: Add support for VIR_DOMAIN_BLOCK_COPY_TRANSIENT_JOB

Jiri Denemark jdenemar at redhat.com
Wed Jun 7 08:50:06 UTC 2017


On Tue, Jun 06, 2017 at 16:46:15 +0200, Peter Krempa wrote:
> Allow using the new flag with virsh.
> ---
>  tools/virsh-domain.c | 10 +++++++++-
>  tools/virsh.pod      |  4 ++++
>  2 files changed, 13 insertions(+), 1 deletion(-)
...
> diff --git a/tools/virsh.pod b/tools/virsh.pod
> index aee964689..b15595c3c 100644
> --- a/tools/virsh.pod
> +++ b/tools/virsh.pod
> @@ -1078,6 +1078,7 @@ command.
>  | 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>] [I<--bytes>]
> +[I<--transient-job>]
> 
>  Copy a disk backing image chain to a destination.  Either I<dest> as
>  the destination file name, or I<--xml> with the name of an XML file containing
> @@ -1132,6 +1133,9 @@ within a certain range. Specifying I<buf-size> will control how much data can
>  be simultaneously in-flight during the copy; larger values use more memory but
>  may allow faster completion (the default value is usually correct).
> 
> +I<--transient-job> allows to specify that the user does not require the job to
> +be recovered if the VM crashes or is turned off before the job completes.
> +

Something similar could be added here too.

ACK

Jirka




More information about the libvir-list mailing list