xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH OSSTEST] Toolstack/libvirt: use URI in migration command
@ 2015-08-11 20:25 Wei Liu
  2015-08-11 22:07 ` Jim Fehlig
  0 siblings, 1 reply; 8+ messages in thread
From: Wei Liu @ 2015-08-11 20:25 UTC (permalink / raw)
  To: Xen-devel; +Cc: ian.jackson, Jim Fehlig, Wei Liu, ian.campbell

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

.

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 ($$$$) {
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-08-12 15:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-11 20:25 [PATCH OSSTEST] Toolstack/libvirt: use URI in migration command Wei Liu
2015-08-11 22:07 ` Jim Fehlig
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

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).