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: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3
From: "Ke, Liping" <liping.ke@xxxxxxxxx>
Date: Thu, 8 May 2008 15:24:46 +0800
Delivery-date: Thu, 08 May 2008 00:25:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D013DC853@trantor>
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> <AEC6C66638C05B468B556EA548C1A77D013DC853@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aciwyj3GC5kFZyVcS9eJk6QW6cxy6gADxAwQAADOs1A=
Thread-topic: [Xen-devel] [PATCH 0/4] HVM Virtual S3
We plan to send the patches today, other four patches will come out soon.
And please see below answers.

Thanks& Regards
Criping

James Harper wrote:
>> -----Original Message-----
>> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
>> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ke, Liping
>> Sent: Thursday, 8 May 2008 15:13
>> To: xen-devel@xxxxxxxxxxxxxxxxxxx
>> Cc: Tian, Kevin; Jiang,Yunhong; Yu, Ke; Ke, Liping
>> Subject: [Xen-devel] [PATCH 0/4] HVM Virtual S3
>> 
>> [PATCH 0/4] HVM Virtual S3
>> 
>> These set of patches are our prototype for HVM virtual
>> ACPI S3 support:
>>  - patch 1/4: Xen interface for HVM S3
>>  - patch 2/4: QEMU interface for HVM S3
>>  - patch 3/4: rombios interface for HVM S3
>>  - patch 4/4: xend interface for HVM S3
>> 
> 
> How does this interact with the PV drivers? Linux, but also how
> should I interact with it in the GPL PV drivers for Windows?

I have tested the patch with PV driver Linux HVM, FC5-32e, 
it could resume back sucessfully. 
Both in Txt mode and X windows. Since after S3, only cpu reset,
all pv drivers or (device drivers such as 
network with vtd-enabled) information still in memory, 
it should work fine after resume. 
But I did not test windows yet because of below problems.

> 
>> However, Windows guest can not suspend, because the windows
>> driver for QEMU VGA and monitor has no power management support, and
>> windows refuse to enter S3 sleep state.
> 
> I have successfully suspended Windows before using the GPL PV drivers,
> but I haven't gotten resume working yet...
And could you help to tell us how to let windows hvm successfully sleep down?

We used to successfully do this on va project, but never succeed on upstream 
because of qemu VGA drivers seems does not support pnp S3 request. 
I have tried both std-vga and cirrus vga on xp/server2003/vista hvm, yet all 
failed
.  Std-vga, even s3 button is disabed.
. Cirrus-vga, s3 is enabled, when you click, it will say "default monitor 
prevent S3 operation...".
And thanks for the information.

> 
> James

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