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] rest of xen host s3 patches

To: "Keir Fraser" <keir@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0/4] rest of xen host s3 patches
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Thu, 19 Jul 2007 18:29:39 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Jul 2007 03:27:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2C4F654.12B7B%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: AcfJ68wxI15+dmbRS9+mLt7+hp91tAAAL+3CAACjnSA=
Thread-topic: [Xen-devel] [PATCH 0/4] rest of xen host s3 patches
>From: Keir Fraser [mailto:keir@xxxxxxxxxxxxx]
>Sent: 2007年7月19日 18:07
>On 19/7/07 11:01, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>
>> One comment from you is held, that acpi sleep option
>> (s3_bios/s3_mode) is still required to be passed from dom0, since
>> VGA has been given to dom0 only which knows the VGA mode before
>> sleep.
>
>But Xen set the mode in the first place. If dom0 changed it subsequently,
>by
>means unknown to Xen, then dom0 can re-set that mode on wakeup.
>The most you
>should need at the Xen interface is a 'don't-touch-video-state' boolean
>flag. What if dom0 has installed a gfx driver that bashes the hardware
>directly?
>
> -- Keir

But why do we need to restore Xen mode first and then let dom0 
recover its own later if any difference? Xen doesn’t require VGA at 
resume actually since it's assigned to dom0 at boot. Dom0's 
VGA resume code is like Xen's wakeup stub which runs in real 
mode, which is unused now. Do you want to support that then? 

Thanks,
Kevin

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