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

Re: [Xen-devel] Design document of Kemari

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Design document of Kemari
From: Yoshisato YANAGISAWA <yanagisawa.yoshisato@xxxxxxxxxxxxx>
Date: Tue, 10 Mar 2009 19:16:38 +0900
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Yoshiaki Tamura <tamura.yoshiaki@xxxxxxxxxxxxx>
Delivery-date: Tue, 10 Mar 2009 03:17:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5DBD397.495C%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: NTT Laboratories
References: <C5DBD397.495C%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)
On 2009/03/10 17:21, Keir Fraser wrote:
On 09/03/2009 22:28, "Yoshiaki Tamura" <tamura.yoshiaki@xxxxxxxxxxxxx>
wrote:

xc_domain_{save,restore} and xc_dom_kemari_{save,restore} look to have quite
a bit in common.
Yes they do. We kept the original xc_domain_{save,restore} to make kemari
specific part less intrusive. If you suggest to integrate them, we would
certainly do so. Would that be appropriate?

Yes, we prefer a merged save/restore codebase.

Since Kemari requires transaction-like feature, xc_dom_kemari_save should wait acknowledgment from xc_dom_kemari_restore. Xc_dom_kemari_restore should also buffer data until complete snapshot received from xc_dom_kemari_save. Because of this reason, there might be large if-else statements if those code are merged.

Isn't it make xc_domain_save and xc_domain_restore too complexed?

--
Yoshisato YANAGISAWA, Ph.D.
Open Source Software Computing Project
NTT Cyber Space Laboratories
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
1-1 Hikarinooka, Yokosuka-Shi,
Kanagawa 239-0847, Japan

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