From: Keir Fraser Subject: Re: [RFC] "xs_read(): uuid get error" of qemu-dm Date: Tue, 07 Nov 2006 08:26:33 +0000 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: Masami Watanabe , xen-devel@lists.xensource.com Cc: Ian Pratt , Anthony Liguori , "Daniel P. Berrange" , "Zheng, Jeff" List-Id: xen-devel@lists.xenproject.org On 7/11/06 3:46 am, "Masami Watanabe" 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