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 3/10] Add HVM support

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Keir Fraser" <keir@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 3/10] Add HVM support
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 10 Jul 2007 21:12:46 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Jul 2007 06:11:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B1FB5@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace4v8AvEHvNElKqQi6Qqle8QqzaiAKGA7QQAAVN3AAAAXlToA==
Thread-topic: [Xen-devel] [PATCH 3/10] Add HVM support
>From: Tian, Kevin
>Sent: 2007年7月10日 20:50
>
>>From: Keir Fraser [mailto:keir@xxxxxxxxxxxxx]
>>Sent: 2007年7月10日 17:51
>>
>>Kevin,
>>
>>Is it documented anywhere in which CPU states VMCS synchronisation
>>may be
>>lost? I see it makes sense that S3 would do so since the CPUs are
>>powered
>>off in that state (although I don't see this documented anywhere --
>maybe
>>it's 'obvious'), but what about e.g., Deep Sleep (C states)?
>
>I don't see either. Since S3 is triggered by I/O write to chipset, CPUs
>are immediately powered off as result and thus internal VMCS cache
>is also lost. All the CPU context favored by system software should
>be saved by system software before that I/O write. So I thought it as
>'obvious'. :-)
>
>For deep sleep states, IPI is taken as break event to bring that
>CPU back to working state (C0).

Seems that I misunderstood your question. Normally such information 
is described in ICH spec and I didn't see VMX related warn by far for 
deep C states. Some deep C state is described with implicit cache flush 
which, I assume, also applies to the internal VMCS cache too. Or else 
all the side effects will be explicitly described such as LAPIC timer stop 
in some deep state. In that case, software needs to tackle that effect 
correspondingly.

Thanks,
Kevin

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