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/
Home Products Support Community News


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

To: "Keir Fraser" <keir@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3
From: "Yu, Ke" <ke.yu@xxxxxxxxx>
Date: Mon, 21 May 2007 11:10:52 +0800
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Sun, 20 May 2007 20:09:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C27211EF.F1A5%keir@xxxxxxxxxxxxx>
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: AceX2gAl4h+XcEYPRxOJnM8JUiP1/QAL7oULAAhTZWAACu1RuQAESK7gAAcVONkAslmwMA==
Thread-topic: [Xen-devel] [PATCH 0/4] HVM Virtual S3
Keir Fraser  wrote on 2007年5月17日 21:07:
> I think we'll end up with something like this in the tools, yes. But
> let's get the save/restore one plumbed in first. The second case
> needs integration with VT-d patches and host S3 patches, which aren't
> yet in the tree. 
>  -- Keir

Hi Keir,

I just discuss with Edwin and Kevin on the HVM save/restore integration with 
virtual S3. Basically, the following things need to be done:

1. For HVM without PV, QEMU call xc_save, qemu_savevm,... at the virtual S3 
final stage. 
2. For HVM with PV, need also add PV driver suspend/resume interface to 
disconnect/reconnect xenbus connection. 

Since I am not familiar with the HVM save/restore, how about the following 
working model:
- I implement the basic Virtual S3 code and leave interface for save/restore
- You or the PV maintainer add the above save/restore logic upon the  basic 
virtual S3 code.

Best Regards

Xen-devel mailing list