All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Subject: [PATCH 1/8] selecthost: Default pdu to "unsupported" rather than nothing
Date: Mon, 10 Apr 2017 16:48:57 +0000	[thread overview]
Message-ID: <1491842944-679-1-git-send-email-ian.jackson@eu.citrix.com> (raw)

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 Osstest/TestSupport.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 4ced6c0..a498ddd 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -814,7 +814,7 @@ sub serial_fetch_logs ($) {
 sub power_cycle_host_setup ($) {
     my ($ho) = @_;
     my $methobjs = [ ];
-    foreach my $meth (split /\;\s*/, $ho->{Power}) {
+    foreach my $meth (split /\;\s*/, ($ho->{Power} // 'unsupported')) {
 	push @$methobjs, get_host_method_object($ho,'PDU',$meth);
     }
     $ho->{PowerMethobjs} = $methobjs;
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2017-04-10 16:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 16:48 Ian Jackson [this message]
2017-04-10 16:48 ` [PATCH 2/8] selecthost: Honour IDENT_hostflagadjust runvar Ian Jackson
2017-04-10 16:48 ` [PATCH 3/8] mg-allocate: Redirect a few messages to stderr Ian Jackson
2017-04-10 16:49 ` [PATCH 4/8] mg-allocate: Provide --stdout-output Ian Jackson
2017-04-10 16:49 ` [PATCH 5/8] ts-hosts-allocate-Executive: Honour OSSTEST_NOALLOCATE Ian Jackson
2017-04-10 16:49 ` [PATCH 6/8] mg-repro-setup: New script for setting up repros automatically Ian Jackson
2017-04-10 16:49 ` [PATCH 7/8] serial logs capture: chomp parameters to the perl script Ian Jackson
2017-04-10 16:49 ` [PATCH 8/8] serial logs capture: Detect errors from glob Ian Jackson

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=1491842944-679-1-git-send-email-ian.jackson@eu.citrix.com \
    --to=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 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.