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][VT] Patch to allowVMXdomainsto be destroyedor sh

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH][VT] Patch to allowVMXdomainsto be destroyedor shut down cleanly
From: "Li, Chengyuan" <chengyuan.li@xxxxxxxxx>
Date: Tue, 20 Sep 2005 17:24:08 +0800
Cc: Khoa Huynh <khoa@xxxxxxxxxx>, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 Sep 2005 09:22:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcW9xHS4uUuVDslZT5O+CZnK9+JBBQAADxhA
Thread-topic: [Xen-devel] [PATCH][VT] Patch to allowVMXdomainsto be destroyedor shut down cleanly
Keir Fraser scribbled on 2005年9月20日 17:24:

> On 20 Sep 2005, at 10:17, Li, Chengyuan wrote:
> 
>> 
>> get_page/put_page has already been handled when cr3 updates, hasn't
>> it? 
> 
> But it happens unconditionally doesn't it? What if the guest writes
> cr3 while paging is disabled, then enables paging in cr0? Won't that
> cause us to get_page() twice?

No, in cr3 handler, it only get_page/put_page when paging enabled. If paging is 
disabled, no get_page/put_page operations.

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

Thanks,
Chengyuan

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