From: Keir Fraser Subject: Re: [PATCH] [Xend] Grab common lock during domain restore op and security op Date: Mon, 10 Mar 2008 22:06:38 +0000 Message-ID: References: <1205186396.13168.0.camel@941e-2.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1205186396.13168.0.camel@941e-2.watson.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger , xen-devel List-Id: xen-devel@lists.xenproject.org It seems odd to me that of all update operations that can be performed on a domain by xend, only label-setting needs explicit serialisation against domain restore. What's the underlying problem that this is solving? -- Keir On 10/3/08 21:59, "Stefan Berger" wrote: > I am introducing a lock in the path of the domain restore operation. > This lock is acquired when a domain is restored or migrated into a > system. The lock is also acquired during policy operation, i.e., setting > of a domain's label, which prevents changes to the policy during restore > operations. > > Signed-off-by: Stefan Berger > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel