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

Re: [Xen-users] xc_domain_unpause in xc_linux_save



> I came across a call to "xc_domain_unpause" in "suspend_and_state"
> (which is called by xc_linux_save in xc_linux_save.c), and I don't
> understand why the domain is being unpaused before being saved.
>
> Does it have to do with the context of the VCPUs?
> Is there some voodoo that makes paused domains impossible to save?

Paravirtualised domains co-operating in the suspending process - they have to 
create a suspend record.  The domain has to be running, not paused, in order 
for saving to work.

This is necessary because paravirtualised domains are aware of the underlying 
machine addresses of memory, so there has to be a mechanism for updating them 
with the new details when they resume, in case they're in a different part of 
memory or on another machine.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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


 


Rackspace

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