xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: ian.jackson@eu.citrix.com, Wei Liu <wei.liu2@citrix.com>,
	ian.campbell@citrix.com
Subject: [PATCH OSSTEST v3 02/13] Introduce ts-saverestore-support-check
Date: Wed, 22 Jul 2015 11:13:24 +0100	[thread overview]
Message-ID: <1437560015-4999-3-git-send-email-wei.liu2@citrix.com> (raw)
In-Reply-To: <1437560015-4999-1-git-send-email-wei.liu2@citrix.com>

We need this script because we're going to separate the concept of save
/ restore and migration later.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
v3: takes $gn
---
 ts-saverestore-support-check | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100755 ts-saverestore-support-check

diff --git a/ts-saverestore-support-check b/ts-saverestore-support-check
new file mode 100755
index 0000000..fcbcb1c
--- /dev/null
+++ b/ts-saverestore-support-check
@@ -0,0 +1,28 @@
+#!/usr/bin/perl -w
+# This is part of "osstest", an automated testing framework for Xen.
+# Copyright (C) 2015 Citrix Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+use strict qw(vars);
+use DBI;
+use Osstest;
+use Osstest::TestSupport;
+
+tsreadconfig();
+
+our ($whhost, $gn) = @ARGV;
+our $ho = selecthost($whhost);
+
+exit(toolstack($ho)->saverestore_check());
-- 
1.9.1

  parent reply	other threads:[~2015-07-22 10:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 10:13 [PATCH OSSTEST v3 00/13] Libvirt migration and HVM tests Wei Liu
2015-07-22 10:13 ` [PATCH OSSTEST v3 01/13] toolstack: save / restore check Wei Liu
2015-07-23 16:11   ` Ian Campbell
2015-07-23 16:16   ` Ian Campbell
2015-07-23 16:45     ` Wei Liu
2015-07-24  8:54       ` Ian Campbell
2015-07-22 10:13 ` Wei Liu [this message]
2015-07-23 16:12   ` [PATCH OSSTEST v3 02/13] Introduce ts-saverestore-support-check Ian Campbell
2015-07-22 10:13 ` [PATCH OSSTEST v3 03/13] osstest migrate support check catch -> variables Wei Liu
2015-07-22 10:13 ` [PATCH OSSTEST v3 04/13] toolstack/libvirt: guest migrate, save and restore support Wei Liu
2015-07-22 10:13 ` [PATCH OSSTEST v3 05/13] toolstack: distinguish local and remote migration support Wei Liu
2015-07-23 16:15   ` Ian Campbell
2015-07-22 10:13 ` [PATCH OSSTEST v3 06/13] sg-run-job: remove save/restore dependency on local " Wei Liu
2015-07-23 16:17   ` Ian Campbell
2015-07-22 10:13 ` [PATCH OSSTEST v3 07/13] ts-xen-build-prep: install ebtables Wei Liu
2015-07-22 10:13 ` [PATCH OSSTEST v3 08/13] ts-libvirt-build: run libvirt test suite Wei Liu
2015-07-22 10:13 ` [PATCH OSSTEST v3 09/13] ts-debian-hvm-install: stub out libvirt + ovmf / rombios Wei Liu
2015-07-23 16:18   ` Ian Campbell
2015-07-22 10:13 ` [PATCH OSSTEST v3 10/13] TestSupport: don't put kernel= in HVM config when using xl and libvirt Wei Liu
2015-07-23 16:19   ` Ian Campbell
2015-07-22 10:13 ` [PATCH OSSTEST v3 11/13] make-flight: debian hvm tests with libvirt Wei Liu
2015-07-23 16:21   ` Ian Campbell
2015-07-22 10:13 ` [PATCH OSSTEST v3 12/13] make-flight, mfi-common: rename onetoolstack to pairtoolstack Wei Liu
2015-07-22 10:13 ` [PATCH OSSTEST v3 13/13] make-flight, mfi-common: create live migration test for libvirt Wei Liu

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=1437560015-4999-3-git-send-email-wei.liu2@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.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).