WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Suspend/resume of guest OSes

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Suspend/resume of guest OSes
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 07 Nov 2003 16:43:35 +0000
Delivery-date: Fri, 07 Nov 2003 16:44:42 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
The unstable tree now contains support for dynamic suspend and resume
of guest OS instances.

Here's how it can currently be used (it's not currently hooked up to
higher-level user tools such as xenctl):

 tools/internal/xi_save_linux <domain number> <state file to write>
...this will stop the given domain, save its state, and resume
execution of the domain.

 tools/internal/xi_restore_linux <state file>
...this will create a new domain, filling it with the state saved in
<state file>. The created domain identifier will be printed to
stdout. The domain must then be resumed with 'xi_start <domain id>'.

Note that only CPU state is saved and restored --- there is currently
no support for saving and restoring IP address information, or
block-device access permissions. It is planned that this will be
implemented by higher-level tools in the near future. For now, you
will need to use tools such as 'xi_vifinit' to specify this
information for a restored guest OS (just as you do if you build a
guest using 'xi_build' instead of using 'xenctl').

 -- Keir


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel