xen-devel
RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3
To: |
"Ke, Liping" <liping.ke@xxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx> |
Subject: |
RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3 |
From: |
"Ian Pratt" <Ian.Pratt@xxxxxxxxxxxxx> |
Date: |
Fri, 9 May 2008 12:59:19 +0100 |
Cc: |
"Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx> |
Delivery-date: |
Fri, 09 May 2008 04:59:59 -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> |
References: |
<391BF3CDD2DC0848B40ACB72FA97AD590352E058@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <DD74FBB8EE28D441903D56487861CD9D2DFDA9B3@xxxxxxxxxxxxxxxxxxxxxx> <391BF3CDD2DC0848B40ACB72FA97AD590352E41A@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1104166E0B63A341805FDB977862AAD20174A0D1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <391BF3CDD2DC0848B40ACB72FA97AD5903565F04@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
Aciwyj3GC5kFZyVcS9eJk6QW6cxy6gAO58GAAASSNxAAAQ9pEAAnjI9gAAQtZQA= |
Thread-topic: |
[Xen-devel] [PATCH 0/4] HVM Virtual S3 |
> 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?
Yes, you'll certainly need a few tweaks to the save/restore code.
Normally save/restore needs to send a notification to the guest such
that the PV drivers get themselves into a 'safe' state. If the guest is
in S3, the drivers will already be shutdown (hence safe).
I think you'll need to add an explicit new state that a VM can be in (S3
sleep), and then gate out some of the save code based on that state.
You'll also need to make sure that the state is saved as part of the
image written to disk to make sure that when it restored it remains in
S3 sleep until triggered back to life. [We may want to add flags to the
xm save/restore commands to incorporate S3 sleep and wake up behaviour
as part of save restore, but this is just CLI sugar.]
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ke, Liping
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, James Harper
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ian Pratt
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ke, Liping
- Re: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Keir Fraser
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Yu, Ke
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ke, Liping
- Re: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Keir Fraser
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3,
Ian Pratt <=
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ke, Liping
- Re: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Keir Fraser
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ke, Liping
- Re: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Keir Fraser
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ian Pratt
- Re: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Keir Fraser
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ian Pratt
- Re: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Keir Fraser
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ke, Liping
- RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3, Ian Pratt
|
|
|