[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH v3 07/25] ts-hosts-allocate-Executive: pass $plan to hid_find_possibilities
From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> We are going to want this to implement the new diverse-CLASS hostflag. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> CC: Wei Liu <wei.liu2@xxxxxxxxxx> --- ts-hosts-allocate-Executive | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive index 451c6fc..6a03d32 100755 --- a/ts-hosts-allocate-Executive +++ b/ts-hosts-allocate-Executive @@ -272,8 +272,8 @@ sub compute_hids () { } } -sub hid_find_possibilities ($) { - my ($hid) = @_; +sub hid_find_possibilities ($$) { + my ($hid, $plan) = @_; delete $hid->{Candidates}; @@ -647,7 +647,7 @@ sub attempt_allocation { foreach my $hid (@hids) { delete $hid->{Allocated}; - hid_find_possibilities($hid); + hid_find_possibilities($hid, $plan); } optimally_order_hids(); -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |