-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I''ve been digging through the Xen Unstable source, in an effort to find out why paused domains don''t save. Whenever I try to save a paused domain, a small amount of data is written to disk (domain config stuff), and then the save hangs forever (more than 1 hour). 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? Can anyone enlighten me? Thanks, Wesley - -- Wesley Emeneker <Wesley.Emeneker@asu.edu> Graduate Research Assistant Fulton School High Performance Computing Arizona State University Phone: (480) 727-0662 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBROJLex3KlQrAVWnHAQjsKgf+LXOzy/pBSyjBFqFY3nYbo3hYbzSdK55z UxdqARTjlBJvrevJROHvBh6SKRNEkfmG+U7oJWU3fI+pp45r+C2YVgC5kDA069g3 44o7fDpYoMo6HQpz/m/n+r6mvhxlMHGOKMgT3p0nKL4hhos1Xi2eT3BPvrtJGof5 4xNQKVgEtSEy99NUP5jw/E9Gf6kM/TW7b09Cx+JlPioHoMM7hpOEXeoF2hrpdSLc VaE/Ule2pgJ3t1RPlTMo8dtc0efxZLaB8u91rzMIstb4PQ/qytL/t0cp7XyLBJJb cXT9aIjXhzdmncbMMeQMOfWxN4x4zwipT1zWDmcf9LdeeU69yRHwMQ==468g -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> 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@lists.xensource.com http://lists.xensource.com/xen-users