From: Masaki Kanno Subject: Re: [PATCH][RESEND] Fix xm reboot --wait Date: Thu, 31 Aug 2006 11:56:11 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi Keir, Could you teach about the 'synchronous flag' in detail? Is the 'synchronous flag' a interface that requests the response from xend to xm to be delayed until the reboot of domU is completed? Best regards, Kan > >I think it'd be neater to add a 'synchronous' flag to the shutdown RPC, than >to expose a restart counter to xm via a special new server command. Would it >be hard to delay the RPC response in xend (and either have xend return a >failure response on a timeout, or have xm wait for the RPC response on a >timeout)? > > -- Keir > >On 28/8/06 2:04 pm, "Masaki Kanno" wrote: > >> Hi, >> >> Could you possibly comment about this patch? >> >> http://lists.xensource.com/archives/html/xen-devel/2006-08/msg01125.html >> >> Best regards, >> Kan >> >>> Hi, >>> >>> This patch fixed 'xm reboot' to work as you expected with the wait >>> option. This patch adds a restart sequence counter to xenstore. >>> The completion of a VM reboot is detected by observing that >>> its restart sequence counter changes. >>> >>> >>> Signed-off-by: Masaki Kanno >>> >>> Best regards, >>> Kan >>> >>> >>> -------------------------------text/plain------------------------------- >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >> >