From: Ian Jackson Subject: [OSSTEST PATCH 14/22] Nested HVM: Provide test-nested recipe Date: Tue, 10 Nov 2015 19:53:26 +0000 Message-ID: <1447185214-6551-15-git-send-email-ian.jackson@eu.citrix.com> References: <1447185214-6551-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZwEzD-0001h0-6N for xen-devel@lists.xenproject.org; Tue, 10 Nov 2015 19:53:47 +0000 In-Reply-To: <1447185214-6551-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Robert Ho , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org From: Robert Ho Signed-off-by: Robert Ho Signed-off-by: Ian Jackson Tested-by: Robert Ho --- v14: ts-nested-setup command line syntax updated. v15: (Robert Ho) remove the unnecessary l1 destroy; as it will implicitly powered off by framework as a nested host. This change hasn't been confirmed by Ian Jackson yet; I plan to separate it as fix patch but by mistake squashed it in. Ian Jackson may want to revert this if he dosn't agree. --- sg-run-job | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sg-run-job b/sg-run-job index 172c87e..a2527ca 100755 --- a/sg-run-job +++ b/sg-run-job @@ -348,6 +348,15 @@ proc run-job/test-pair-oneway {} { run-ts . = ts-guest-stop dst_host + debian } +proc need-hosts/test-nested {} {return host} +proc run-job/test-nested {} { + run-ts . = ts-debian-hvm-install + host l1 + run-ts . = ts-nested-setup + --define l1=host:l1 + nested-layer-descend l1 + run-ts . = ts-debian-hvm-install l1 l2 + run-ts . = ts-guest-stop l1 l2 +} + proc test-guest-migr {g} { set to_reap [spawn-ts . = ts-migrate-support-check + host $g 1] set can_migrate [reap-ts $to_reap] -- 1.7.10.4