[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xl save but leave domain paused

On Thu, 2013-05-30 at 22:46 +0100, Ian Murray wrote:
> To this end and as more of a starting point, I have written my own basic 
> patch. While this appears to work, I see a (very small) opportunity for 
> the domU to run for a short time between the libxl_domain_resume and 
> libxl_domain_pause calls. This defeats the object as I am trying to 
> maintain a disk snapshot that is exactly in synch with the save state.
> Can anyone please offer some thoughts on how I can implement this 
> properly.

Does it work if you simply do the pause before the resume? Looking at
the hypervisor side it appears that pauses are referenced counted and it
looks (based on a cursory glance) that it will do the right thing.

>  I have looked at the corresponding xc calls but meddling with 
> those is way beyond my knowledge. Another way of looking at the problem 
> would be able to perform an xl save on a paused domain, as this would 
> achieve the same result.

OOI what happens if you try that?

> (Against RELEASE-4.2.2)

FYI any eventual patch will need to be against unstable and then
considered separately for backporting.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.