From: Tavi Santi Subject: Re: external device migrate scripts Date: Thu, 30 Nov 2006 17:19:24 -0800 (PST) Message-ID: <20061201011924.90264.qmail@web59108.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ewan Mellor Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org =0A=0A----- Original Message ----=0AFrom: Ewan Mellor = =0ATo: Tavi Santi =0ACc: xen-devel@lists.xensource.co= m=0ASent: Thursday, November 30, 2006 11:14:49 PM=0ASubject: Re: [Xen-devel= ] external device migrate scripts=0A=0AOn Thu, Nov 30, 2006 at 12:50:07PM -= 0800, Tavi Santi wrote:=0A=0A> Hi,=0A> =0A> I am trying to understand how t= he restore part of the external device=0A> migration works. I made some scr= ipts for external device save, similar to=0A> the vtpm ones in /etc/xen/scr= ipts. These scripts will run during migration=0A> on the source host.=0A> = =0A> However, I need to make them talk with their counterparts on the=0A> d= estination host and I can't figure out which is the appropriate place to=0A= > call them from so that I am consistent with the other external devices=0A= > such as vtpm. Is the restore() in /tools/python/xen/xend/XendCheckpoint.p= y=0A> the answer?=0A=0AI think you will have to give us some more informati= on -- what are you=0Atrying to do?=0A=0AEwan.=0A=0AI am trying to migrate b= lkif devices. I order to manage synchronization, I need some =0Ascripts to = run on both sides. I am calling the script on the source using the =0Atools= /examples/external-device-migrate script, similar to the vtpm (I have added= a migrate=0Amethod to tools/python/xen/xend/server/blkif.py which can be t= raced back to the save() in =0AXendCheckpoint.py). The script on the destin= ation should also be called when migration=0Astarts but I don't really know= where from. This is probably because I am very new to xen and =0AI am miss= ing where the other external devices (like the vtpm) are doing the same thi= ng.=0A=0AThank you.=0A=0A=0A=0A=0A=0A______________________________________= ____________=0ADo You Yahoo!?=0ATired of spam? Yahoo! Mail has the best sp= am protection around =0Ahttp://mail.yahoo.com