[libvirt] [PATCH] virsh migrate: Fix positional parameters

Andrea Bolognani abologna at redhat.com
Mon Jun 20 11:07:31 UTC 2016


On Mon, 2016-06-20 at 10:31 +0200, Jiri Denemark wrote:
> Thanks to our smart option parser which automatically assigns positional
> parameters the following (previously working) command fails:
> 
>     virsh migrate test qemu+ssh://1.2.3.4/system tcp://1.2.3.4/
>     error: invalid argument: Unsupported compression method
>     'tcp://1.2.3.4/'
> 
> We need to make sure new options are added at the end of the list rather
> than where they logically belong.
> 
> Reported by Brian Rak.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  tools/virsh-domain.c | 40 ++++++++++++++++++++--------------------
>  1 file changed, 20 insertions(+), 20 deletions(-)

ACK

-- 
Andrea Bolognani
Software Engineer - Virtualization Team




More information about the libvir-list mailing list