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

Re: [Xen-devel] [PATCH 0/4] HVM Virtual S3

To: "Ke, Liping" <liping.ke@xxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/4] HVM Virtual S3
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 09 May 2008 11:10:35 +0100
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Fri, 09 May 2008 03:11:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <391BF3CDD2DC0848B40ACB72FA97AD5903565F04@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aciwyj3GC5kFZyVcS9eJk6QW6cxy6gAO58GAAASSNxAAAQ9pEAAnjI9gAACVmEs=
Thread-topic: [Xen-devel] [PATCH 0/4] HVM Virtual S3
User-agent: Microsoft-Entourage/11.4.0.080122
'xm [un]pause' already has a meaning, and I don't think the meaning should
be overloaded for HVM guests. That's asking for trouble. I'd rather we went
with the 'xm trigger' approach, making it look like a lid opening and
closing.

Apart from that, this approach of doing most of the work on the suspend side
is definitely the right thing to do. Then 'xm trigger lid-open' (or whatever
you call it) will be really not much more complicated than domain_unpause().

 -- Keir

On 9/5/08 10:58, "Ke, Liping" <liping.ke@xxxxxxxxx> wrote:

>> That is good idea. Basically we will combine suspend/resume into one
>> logic. And use "xm unpause" for resume. We will look into more.
>> 
> Hi, Ke and Ian
> Today I am trying this idea, I found combining S3
> sus/resume+domain_pause, and then
> use domain_unpause letting domain back works fine.
> 
> Yet when I am trying xm save after pausing domain, I found if a domain
> not running, 
> Xm save will reject the save request.
> So I want to know whether domain running is a must  for xm save
> operation?



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