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 4/4] Enable ACPI sleep in XenLinux

To: "Keir Fraser" <keir@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 4/4] Enable ACPI sleep in XenLinux
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 19 Jul 2007 21:12:24 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Jul 2007 06:10:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2C4FB99.12B83%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: AcfJ7DsHT6DCsnFlTp+jNB3R5tK/WgAA3TzmAAWQPOA=
Thread-topic: [Xen-devel] [PATCH 4/4] Enable ACPI sleep in XenLinux
>From: Keir Fraser [mailto:keir@xxxxxxxxxxxxx]
>Sent: 2007年7月19日 18:29
>
>On 19/7/07 11:04, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>
>> +    uint32_t video_flags;       /* S3_bios or s3_mode */
>> +    uint32_t video_mode;        /* Mode setting for s3_mode */
>
>I'd like this to be two three-way flags: video_bios_reset and
>video_mode_reset. Each can be set to yes, no, or default.
>
>Yes means force to true. No means force to false. Default means default
>Xen
>policy (i.e., false unless changed by Xen command-line option
>'acpi_sleep=').
>
>If video_bios_reset is true, we call c000:0003.
>
>If video_mode_reset is true, we reset video mode to what we set up at
>boot
>time.
>
>Anything other wakeup re-set should be done by dom0 itself.
>
> -- Keir

Still I'm not inclined to this way by two reasons:
        - There's really no point to reset Xen's VGA mode since xen doesn't 
require to touch it.
        - As in another mail, we either need to support dom0 real mode to 
try dom0's re-set path, or write a new one. But either way seems not 
meaningful, does it? :-)

Thanks,
Kevin

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