This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH][RESEND] Fix xm reboot --wait

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH][RESEND] Fix xm reboot --wait
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 31 Aug 2006 11:56:11 +0900
Delivery-date: Wed, 30 Aug 2006 19:57:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C11BE328.192B%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C11BE328.192B%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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,

>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
> -- Keir
>On 28/8/06 2:04 pm, "Masaki Kanno" <kanno.masaki@xxxxxxxxxxxxxx> 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 <kanno.masaki@xxxxxxxxxxxxxx>
>>> Best regards,
>>> Kan
>>> -------------------------------text/plain-------------------------------
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-devel

Xen-devel mailing list