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>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/4] HVM Virtual S3
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 14 May 2008 13:17:20 +0100
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Wed, 14 May 2008 05:17:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <391BF3CDD2DC0848B40ACB72FA97AD59035AABF4@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: Aciwyj3GC5kFZyVcS9eJk6QW6cxy6gAO58GAAASSNxAAAQ9pEAAnjI9gAAQtZQAA9rPlAAAFlo6t
Thread-topic: [Xen-devel] [PATCH 0/4] HVM Virtual S3
User-agent: Microsoft-Entourage/11.4.0.080122
On 14/5/08 10:50, "Ke, Liping" <liping.ke@xxxxxxxxx> wrote:

> 1. if hvm in s3suspended, could we allow pause/unpause/suspend/resume
> operation?
>     Need we add condition guard in python code?

I think pause/unpause still makes sense. Obviously a paused and s3suspended
guest will not run again until both s3 resumed and unpaused. As for
suspend/resume, that should also just work I think? Isn't the point to be
able to s3-suspend then save then restore then s3-resume?

> 2. when we add a new flag is_s3_suspended in dominfo structure, it will affect
> other
> Trace/statistic tools in xen, seems this is not a very small change?
>    The above two changes is ok for you or not?

I don't really care to have is_s3_suspended visible via dominfo. Leave it
hidden if you like. Xend should be able to remember whether it s3-suspended
a domain, if it needs to. Or we can expose it via an interface other than
dominfo. We could, for example, make it an HVM_PARAM. Then you can
enter/leave/interrogate s3suspend state via the existing hvm_op param
interfaces.

 -- Keir



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