Jobs generated by make-hosts-flight do not need to (and therefore do
not) set any hostflags: they set a `host' runvar instead, for the
specific host.  Do not pointlessly bomb out in this situation.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 ts-hosts-allocate-Executive | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive
index 9417226..0987e2b 100755
--- a/ts-hosts-allocate-Executive
+++ b/ts-hosts-allocate-Executive
@@ -232,7 +232,8 @@ sub compute_hids () {
             print DEBUG "HID $ident OVERRIDE $hid->{OverrideUse}\n";
         }
         my @flags= get_hostflags($ident);
-       die "no hostflags?!" unless @flags;
+       die "no hostflags?!" unless @flags or
+           $hid->{OverrideUse} or $r{$ident};
         print DEBUG "HID $ident FLAGS @flags\n";
         $hid->{Ident}= $ident;
         my %flags;
-- 
2.1.4


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

Reply via email to