[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST v2 10/18] Toolstack: Refactor shutdown support



Ian Campbell writes ("[PATCH OSSTEST v2 10/18] Toolstack: Refactor shutdown 
support"):
> +sub shutdown_wait ($$) {
> +    my ($self,$gho) = @_;
> +    my $ho = $self->{Host};
> +    my $gn = $gho->{Name};
> +    target_cmd_root($ho,"$self->{Command} shutdown -w $gn", 200);

I think the timeout should be in the callers, not here.  Different
guests might take different times to shut down - but different
toolstacks shouldn't.

Ian.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.