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 2/2] Enhance MTRR/PAT virtualization for EPT & VT

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel][PATCH 2/2] Enhance MTRR/PAT virtualization for EPT & VT-d enabled both
From: "Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx>
Date: Thu, 22 Jan 2009 20:28:12 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Thu, 22 Jan 2009 04:28:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C59DF7D7.21B66%keir.fraser@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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C85CEDA13AB1CF4D9D597824A86D2B9001C532F7AE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C59DF7D7.21B66%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acl8dpbanCB0DwW8TGmTMMt32OWsQQAA8//QAAORuJA=
Thread-topic: [Xen-devel][PATCH 2/2] Enhance MTRR/PAT virtualization for EPT & VT-d enabled both
The new flag is used to not to reconstruct vt-d page tables when guest tried to 
set MTRR range. At that time, we called hvm_set_uc_mode() to refill the emt 
fied of EPT entries. But we don't need to reconstruct the vt-d page tables. It 
costs too much especially when guest memory is large. Basically, the vt-d page 
table is constructed when p2m tables is created which during the domain 
creation time, so we may skip the step during hvm_set_uc_mode().

Thanks
Xiaohui

>-----Original Message-----
>From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
>Sent: 2009年1月22日 18:16
>To: Xin, Xiaohui; xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-devel][PATCH 2/2] Enhance MTRR/PAT virtualization for EPT &
>VT-d enabled both
>
>You add a new flag 'is_untaint'. What is tainted/untainted? No comment and
>not a descriptive field name.
>
> -- Keir
>
>On 22/01/2009 09:48, "Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx> wrote:
>
>> The patch attached is to set effective memory type for EPT according to the
>> VT-d snoop control capability, and also includes some cleansup for EPT & VT-d
>> both enabled.
>>
>> Signed-off-by: Zhai, Edwin Edwin.Zhai@xxxxxxxxx
>>
>> Signed-off-by: Xin, Xiaohui xiaohui.xin@xxxxxxxxx
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>

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