From: Ian Jackson <iwj@xenproject.org>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <iwj@xenproject.org>
Subject: [OSSTEST PATCH 5/7] ts-xen-install: Honour xenstored target var
Date: Fri, 22 Jan 2021 15:56:01 +0000 [thread overview]
Message-ID: <20210122155603.23402-5-iwj@xenproject.org> (raw)
In-Reply-To: <20210122155603.23402-1-iwj@xenproject.org>
Nothing sets this yet.
Signed-off-by: Ian Jackson <iwj@xenproject.org>
---
Osstest/TestSupport.pm | 1 +
ts-xen-install | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 9e85303a..a0ca6943 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -179,6 +179,7 @@ our @accessible_runvar_pats =
host_linux_boot_append *_host_linux_boot_append
host_ip *_host_ip
host_power_install *_host_power_install
+ host_xenstored *_host_xenstored
);
#---------- test script startup ----------
diff --git a/ts-xen-install b/ts-xen-install
index fc4bf423..47865eb6 100755
--- a/ts-xen-install
+++ b/ts-xen-install
@@ -142,6 +142,13 @@ sub adjustconfig () {
(
"XENCONSOLED_TRACE" => "guest",
);
+
+ my $xenstored = target_var($ho, 'xenstored');
+ if (defined $xenstored) {
+ $xenstored = "/usr/local/sbin/$xenstored" unless $xenstored =~ m{/};
+ push @commons_config, "XENSTORED", $xenstored;
+ }
+
target_editfile_root($ho, $commons_config_file,
sub { target_editfile_kvp_replace(@commons_config) });
--
2.20.1
next prev parent reply other threads:[~2021-01-22 15:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 15:55 [OSSTEST PATCH 1/7] target_editfile_kvp_replace: Support changing multiple keys Ian Jackson
2021-01-22 15:55 ` [OSSTEST PATCH 2/7] target_editfile_kvp_replace: Add a bit of logging Ian Jackson
2021-01-22 15:55 ` [OSSTEST PATCH 3/7] ts-xen-install: Rename $commons_config_file Ian Jackson
2021-01-22 15:56 ` [OSSTEST PATCH 4/7] ts-xen-install: Break out @commons_config Ian Jackson
2021-01-22 15:56 ` Ian Jackson [this message]
2021-01-22 15:56 ` [OSSTEST PATCH 6/7] mfi-common: Provide stripy_rand Ian Jackson
2021-01-22 15:56 ` [OSSTEST PATCH 7/7] make-flight: Stripy xenstored Ian Jackson
2021-01-22 16:07 ` Andrew Cooper
2021-01-22 16:22 ` Ian Jackson
2021-01-22 16:24 ` Jürgen Groß
2021-01-22 16:26 ` Ian Jackson
2021-01-22 16:29 ` Jürgen Groß
2021-01-22 16:29 ` Andrew Cooper
2021-01-22 17:37 ` [OSSTEST PATCH 7/7] make-flight: Stripy xenstored [and 2 more messages] Ian Jackson
2021-01-22 17:52 ` Andrew Cooper
2021-01-28 14:26 ` Ian Jackson
2021-01-22 16:11 ` [OSSTEST PATCH 7/7] make-flight: Stripy xenstored Christian Lindig
2021-01-22 16:36 ` Andrew Cooper
2021-01-22 16:40 ` Edwin Torok
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=20210122155603.23402-5-iwj@xenproject.org \
--to=iwj@xenproject.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.