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] Re: Rename all dying domains to be prefixed with Zombie.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: Rename all dying domains to be prefixed with Zombie. This allows a new domain
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Thu, 6 Oct 2005 14:57:48 +0100
Delivery-date: Thu, 06 Oct 2005 13:55:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051006134723.GC19844@xxxxxxxxxxxxxxxxxxx>
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>
References: <E1ENSnM-0002c4-RB@xxxxxxxxxxxxxxxxxxxxx> <20051006134723.GC19844@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, Oct 06, 2005 at 09:47:23AM -0400, Sean Dague wrote:

> So what happens if:
> 
> * Dom1 is told to die
> * It doesn't because it can't free a physical resource (i.e. disk)
> * It gets renamed to Zombie-Dom1
> * User tries to recreate Dom1
> * New Dom1 grabs physical resource that was keeping Dom1 from dying
> 
> Doesn't that provide for the possibility of 2 writers to a device that only
> can support 1, and all heck breaking loose?  (Note, I hope I'm wrong here)

If a domain has been destroyed, even if it's a zombie in the dying state, it
will never execute another instruction.  Xen may be unable to clean up after
it, but you are guaranteed that it won't write to the filesystem any longer.

Ewan.

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