WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [RFC] "xs_read(): uuid get error" of qemu-dm

To: Masami Watanabe <masami.watanabe@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [RFC] "xs_read(): uuid get error" of qemu-dm
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 07 Nov 2006 08:26:33 +0000
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, Anthony Liguori <aliguori@xxxxxxxxxx>, "Daniel P. Berrange" <berrange@xxxxxxxxxx>, "Zheng, Jeff" <jeff.zheng@xxxxxxxxx>
Delivery-date: Tue, 07 Nov 2006 00:27:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <JW2006110712463618.7227796@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccCRm6brMgiBG45EduEmAANk04WTA==
Thread-topic: [RFC] "xs_read(): uuid get error" of qemu-dm
User-agent: Microsoft-Entourage/11.2.5.060620
On 7/11/06 3:46 am, "Masami Watanabe" <masami.watanabe@xxxxxxxxxxxxxx>
wrote:

> - The change of the call order of vm.initDomain() and vm.storeVmDetails()
>   in create()@XendDomainInfo.py.
>   It looks safe. Isn't there problem ?
>   I tried this. Still, the error sometimes occurs.

I'm not sure. Does this change the ordering of the writeVM versus creation
of the qemu-dm process?

> - writeVm() should guarantee the completion of writing of xenstore.
>   Is it possible ?

You mean storeVm? Yes, it should complete synchronously, unless it's part of
larger transaction in which case it completes synchronously when the
transaction commits (if the transaction commits successfully). Writes aren't
buffered or delayed apart from as part of a transaction.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel