[Libguestfs] [PATCH virt-v2v] v2v: -o rhv-upload: Enable multi-conn

Eric Blake eblake at redhat.com
Tue Aug 3 19:20:01 UTC 2021


On Mon, Aug 02, 2021 at 08:41:20AM +0100, Richard W.M. Jones wrote:
> ---
>  v2v/rhv-upload-plugin.py | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
> index a3d578176..51e9b33f7 100644
> --- a/v2v/rhv-upload-plugin.py
> +++ b/v2v/rhv-upload-plugin.py
> @@ -169,6 +169,10 @@ def open(readonly):
>      }
>  
>  
> +def can_multi_conn(h):
> +    return True

Should this be h['can_flush'] instead of True?

Are we guaranteed that imageio guarantees a consistent image across
all other http connections when a flush is received on a single http
connection?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org




More information about the Libguestfs mailing list