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

[Xen-devel] Re: backend block driver and domain migration blackout time

To: "Guzovsky, Eduard" <Eduard.Guzovsky@xxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: backend block driver and domain migration blackout time
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 26 Aug 2008 17:56:52 +0100
Cc: "Murray, Kimball" <Kimball.Murray@xxxxxxxxxxx>
Delivery-date: Tue, 26 Aug 2008 09:57:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EEEB1FA7BB798343BD171137F3E7FA5301007B45@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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckHCehhJ5qe6FEnR7aefGED8vNm6wAQI8W5ABKZhNAAAffPRQ==
Thread-topic: backend block driver and domain migration blackout time
User-agent: Microsoft-Entourage/11.4.0.080122
On 26/8/08 17:36, "Guzovsky, Eduard" <Eduard.Guzovsky@xxxxxxxxxxx> wrote:

>     dominfo._releaseDevices(force = True)
>     wait_for_outstanding_vbd_io_complete() # "shutdown-done" in xenstore
>     unleash_the_target()
> 
> just before the current
> 
>     dominfo.destroyDomain()
>     dominfo.testDeviceComplete()
>   
> The complete xend patch is below. Works fine in our testing but is this
> a safe thing to do?

As long as domain's execution is quiesced (which it obviously is since it
will have responded to the suspend request and the state record has been
propagated to the target machine) and I/O is quiesced (well, block I/O at
least) then yes, it should logically be safe.

 -- Keir



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