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] Migration of paused domains

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Migration of paused domains
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Sat, 19 Jul 2008 16:51:52 +0100
Cc: James Harper <james.harper@xxxxxxxxxxxxxxxx>, Alessandro Sardo <sandro.sardo@xxxxxxxxx>
Delivery-date: Sat, 19 Jul 2008 08:52:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4881E238.2040707@xxxxxxxxx>
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>
References: <4881DF2C.4080806@xxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0148FF26@trantor> <4881E238.2040707@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
On Saturday 19 July 2008, Alessandro Sardo wrote:
> James Harper ha scritto:
> >> today I wanted to find out if it was possible to migrate a paused
> >> domain. So, I tried the following:
> >>
> >> # xm pause <dom>
> >> # xm migrate <dom> <dest>
> >
> > For PV domains, migrate requires the DomU itself to make a suspend call
> > to the hypervisor when it is ready to suspend. I guess it can't do that
> > if it is paused...
> >
> > James
>
> I see. Would you be so kind to point me at that suspend call in the
> sources?

In the Linux sources I think you could start browsing from 
drivers/xen/core/reboot.c::xen_suspend().

The final hypercall to suspend the guest (HYPERVISOR_suspend) is done in 
drivers/xen/core/machine_reboot.c::take_machine_down()

Hope that helps,
Cheers,
Mark

>
> Thanks again!
>
> - AS
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

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

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