I''m not sure if this is a real bug or not, but when attempting to test my block device migration system I pause the domain to ensure that no more writes to the backing block device will occur. Unfortunately if the domain is pause an xm migrate command simply leads to the xm migrate command hanging. I would have thought it should be possible to migrate a paused domain. Is this a bug or is there a real problem with trying to migrate a paused domain? Cheers, Rob -- Rob Bradford <rob.bradford@xenoservers.net> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> I''m not sure if this is a real bug or not, but when attempting to test > my block device migration system I pause the domain to ensure that no > more writes to the backing block device will occur. > > Unfortunately if the domain is pause an xm migrate command simply leads > to the xm migrate command hanging. I would have thought it should be > possible to migrate a paused domain. Is this a bug or is there a real > problem with trying to migrate a paused domain?There is a problem in migrating (or saving) a paused paravirtual domain - the guest OS needs to be ''aware'' that it is being suspended so that it can ensure there are no stale mfns lying around (since these will no longer be valid after the resume / on the destination node). cheers, S. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
There was a discussion on these lines sometime back. http://lists.xensource.com/archives/html/xen-devel/2006-05/msg00521.html On 8/3/06, Steven Hand <Steven.Hand@cl.cam.ac.uk> wrote:> > > > I''m not sure if this is a real bug or not, but when attempting to test > > my block device migration system I pause the domain to ensure that no > > more writes to the backing block device will occur. > > > > Unfortunately if the domain is pause an xm migrate command simply leads > > to the xm migrate command hanging. I would have thought it should be > > possible to migrate a paused domain. Is this a bug or is there a real > > problem with trying to migrate a paused domain? > > There is a problem in migrating (or saving) a paused paravirtual > domain - the guest OS needs to be ''aware'' that it is being suspended > so that it can ensure there are no stale mfns lying around (since > these will no longer be valid after the resume / on the destination > node). > > > cheers, > > S. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >-- Jayesh ------------------------------------------------------------------------ Everything you can imagine is real _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel