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-users

Re: [Xen-users] "xm save" hanging when saving domain in "pause" state

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] "xm save" hanging when saving domain in "pause" state
From: Michael Vrable <mvrable@xxxxxxxxxxx>
Date: Fri, 14 Jul 2006 15:37:17 -0700
Delivery-date: Fri, 14 Jul 2006 15:37:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <c068e800607132232u6d8a95e4h49e2f672287ab3fc@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <c068e800607132232u6d8a95e4h49e2f672287ab3fc@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060403
On Thu, Jul 13, 2006 at 10:32:47PM -0700, Claris Castillo wrote:
> Is there any known issue on saving a domain which is in pause state?
> Xen hangs whenever I try to save (by means of xm save command) the state of
> a machine which has been paused (by means of xm pause command). I have been
> looking at the log files etc but I am not able to spot the problem. BTW, xm
> save works prefectly fine if the domain is running or block. The problem is
> when the domain is in pause.

Yes, this is by design.  Save/restore are a cooperative process:
 1. Xend notifies the domain that it will be saved
 2. The domain disconnects from devices, places itself into a quiescent
    state, and notifies Xen
 3. After receiving this notification, xend saves the domain's CPU state
    and memory to a file
Pausing a domain will prevent any progress from being made on step 2
(for the obvious reason--the domain can't run), so saving will hang.

--Michael Vrable

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