From: Wei Liu Subject: [PATCH OSSTEST v6 7/9] ts-xen-install: install Xen with XSM support if requested Date: Wed, 4 Feb 2015 16:29:52 +0000 Message-ID: <1423067394-8238-8-git-send-email-wei.liu2@citrix.com> References: <1423067394-8238-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1423067394-8238-1-git-send-email-wei.liu2@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.xen.org Cc: ian.jackson@eu.citrix.com, Wei Liu , ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Wei Liu Acked-by: Ian Campbell --- Changes in v4: 1. Use "true" instead of "y" --- ts-xen-install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts-xen-install b/ts-xen-install index 829c3e9..de4324a 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -46,6 +46,8 @@ if (@ARGV and $ARGV[0] eq '--check') { our $ho; +my $enable_xsm = $r{enable_xsm} =~ m/true/ ? 1 : 0; + my %distpath; sub packages () { @@ -171,7 +173,8 @@ sub setupboot () { } my $want_kernver = get_runvar('kernel_ver',$r{'kernbuildjob'}); - debian_boot_setup($ho, $want_kernver, 0, $xenhopt, \%distpath, \@hooks); + debian_boot_setup($ho, $want_kernver, $enable_xsm, $xenhopt, + \%distpath, \@hooks); logm("ready to boot Xen"); } -- 1.9.1