[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 2/2] host_shared_mark_ready: rename from resource_shared_mark_ready
This function only works on resource of restype `host'. Ie, hosts. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> CC: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- Osstest/TestSupport.pm | 4 ++-- ts-freebsd-host-install | 4 ++-- ts-xen-build-prep | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 85ed57a..c9dada3 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -134,7 +134,7 @@ BEGIN { guest_editconfig_nocd host_install_postboot_complete target_core_dump_setup - sha256file resource_shared_mark_ready + sha256file host_shared_mark_ready ); %EXPORT_TAGS = ( ); @@ -2858,7 +2858,7 @@ sub sha256file ($;$) { return $truncate ? substr($digest, 0, $truncate) : $digest; } -sub resource_shared_mark_ready($$) { +sub host_shared_mark_ready($$) { my ($ho,$sharetype) = @_; $mjobdb->jobdb_resource_shared_mark_ready('host', $ho->{Name}, diff --git a/ts-freebsd-host-install b/ts-freebsd-host-install index bfc693a..caec993 100755 --- a/ts-freebsd-host-install +++ b/ts-freebsd-host-install @@ -279,5 +279,5 @@ setup_netboot_local($ho); # Proceed with the install install(); -resource_shared_mark_ready($ho, "build-freebsd-". - sha256file("$path_prefix/install.img", 16)); +host_shared_mark_ready($ho, "build-freebsd-". + sha256file("$path_prefix/install.img", 16)); diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 776866d..22a3ce6 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -274,4 +274,4 @@ if (!$ho->{Flags}{'no-reinstall'}) { gitcache_setup(); } -resource_shared_mark_ready($ho, "build-".$ho->{Suite}."-".$r{arch}); +host_shared_mark_ready($ho, "build-".$ho->{Suite}."-".$r{arch}); -- 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 |