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] [PATCH] [Xend] Grab common lock during domain restore op

To: Stefan Berger <stefanb@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [Xend] Grab common lock during domain restore op and security op
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 10 Mar 2008 22:06:38 +0000
Delivery-date: Mon, 10 Mar 2008 15:07:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1205186396.13168.0.camel@xxxxxxxxxxxxxxxxxxxxx>
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: AciC+wMSQc/xC+7uEdyLvQAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] [Xend] Grab common lock during domain restore op and security op
User-agent: Microsoft-Entourage/11.4.0.080122
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" <stefanb@xxxxxxxxxx> 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 <stefanb@xxxxxxxxxx>
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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

<Prev in Thread] Current Thread [Next in Thread>