From: Jim Fehlig <jfehlig@suse.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: Xen-devel <xen-devel@lists.xenproject.org>,
ian.jackson@eu.citrix.com, ian.campbell@citrix.com
Subject: Re: [PATCH OSSTEST] Toolstack/libvirt: use URI in migration command
Date: Tue, 11 Aug 2015 16:07:18 -0600 [thread overview]
Message-ID: <55CA7216.7060708@suse.com> (raw)
In-Reply-To: <1439324709-16828-1-git-send-email-wei.liu2@citrix.com>
Wei Liu wrote:
> Virsh migrate expects an URI, not a host. We don't actually care what
> kind of transport it uses, the main objective is to test migration, so
> use xen+ssh for the time being.
>
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> ---
> Cc: Jim Fehlig <jfehlig@suse.com>
>
> I once had email exchange with Jim and he said xen+ssh was a commonly
> use configuration.
>
> Jim, I hope I got the URI right. The constructed command will be like
>
> virsh migrate guest xen+ssh://dst-host
>
Yes, that is correct. Note you will need a '--live' option if live
migration is what you are after
virsh migrate --live guest xen+ssh://dst-host
Regards,
Jim
> .
>
> OSSTest has working ssh setup between src and dst host so I expect this
> setup to just work.
> ---
> Osstest/Toolstack/libvirt.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Osstest/Toolstack/libvirt.pm b/Osstest/Toolstack/libvirt.pm
> index bfb5ccb..477ebee 100644
> --- a/Osstest/Toolstack/libvirt.pm
> +++ b/Osstest/Toolstack/libvirt.pm
> @@ -108,7 +108,7 @@ sub migrate ($$$$) {
> my $sho = $self->{Host};
> my $dst = $dho->{Name};
> my $gn = $gho->{Name};
> - target_cmd_root($sho, "virsh migrate $gn $dst", $timeout);
> + target_cmd_root($sho, "virsh migrate $gn xen+ssh://$dst", $timeout);
> }
>
> sub save ($$$$) {
>
next prev parent reply other threads:[~2015-08-11 22:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-11 20:25 [PATCH OSSTEST] Toolstack/libvirt: use URI in migration command Wei Liu
2015-08-11 22:07 ` Jim Fehlig [this message]
2015-08-12 10:05 ` Ian Campbell
2015-08-12 10:17 ` Ian Campbell
2015-08-12 13:21 ` Ian Campbell
2015-08-12 15:08 ` Jim Fehlig
2015-08-12 15:25 ` Ian Campbell
2015-08-12 15:42 ` Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55CA7216.7060708@suse.com \
--to=jfehlig@suse.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).