From: Mark Williamson Subject: Re: Migration of paused domains Date: Sat, 19 Jul 2008 16:51:52 +0100 Message-ID: <200807191651.53356.mark.williamson@cl.cam.ac.uk> References: <4881DF2C.4080806@polito.it> <4881E238.2040707@polito.it> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4881E238.2040707@polito.it> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: James Harper , Alessandro Sardo List-Id: xen-devel@lists.xenproject.org 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 > >> # xm migrate > > > > 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@lists.xensource.com > http://lists.xensource.com/xen-devel -- Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)