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] external device migrate scripts

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] external device migrate scripts
From: Tavi Santi <tavi_santi@xxxxxxxxx>
Date: Thu, 30 Nov 2006 17:19:24 -0800 (PST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 30 Nov 2006 17:19:28 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Elz/SjZfbceTiHP9P/VOrrviNy8V10aH1kNrubUab9JHw6wFq1Oe5GrtyuBW4rwW8ZVRG29cUA7wInGGFLZGjVaQ5ZkQxIs/gAM/V6VT1xKTtKS4GF1bqYKAjLr3IAcO4laIlIfoOLasZMdPpLdfO08dlaWKcPFFwlAkrzqJmDc= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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

----- Original Message ----
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
To: Tavi Santi <tavi_santi@xxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Sent: Thursday, November 30, 2006 11:14:49 PM
Subject: Re: [Xen-devel] external device migrate scripts

On Thu, Nov 30, 2006 at 12:50:07PM -0800, Tavi Santi wrote:

> Hi,
> 
> I am trying to understand how the restore part of the external device
> migration works. I made some scripts for external device save, similar to
> the vtpm ones in /etc/xen/scripts. These scripts will run during migration
> on the source host.
> 
> However, I need to make them talk with their counterparts on the
> destination host and I can't figure out which is the appropriate place to
> call them from so that I am consistent with the other external devices
> such as vtpm. Is the restore() in /tools/python/xen/xend/XendCheckpoint.py
> the answer?

I think you will have to give us some more information -- what are you
trying to do?

Ewan.

I am trying to migrate blkif devices. I order to manage synchronization, I need 
some 
scripts to run on both sides. I am calling the script on the source using the 
tools/examples/external-device-migrate script, similar to the vtpm (I have 
added a migrate
method to tools/python/xen/xend/server/blkif.py which can be traced back to the 
save() in 
XendCheckpoint.py). The script on the destination should also be called when 
migration
starts but I don't really know where from. This is probably because I am very 
new to xen and 
I am missing where the other external devices (like the vtpm) are doing the 
same thing.

Thank you.





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

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

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