[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RESEND][PATCH 3/5]MTRR/PAT virtualization


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Su, Disheng" <disheng.su@xxxxxxxxx>
  • Date: Wed, 17 Oct 2007 16:45:22 +0800
  • Delivery-date: Wed, 17 Oct 2007 01:49:10 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcgQmg3q5zCJnxRuT1SCW287S7/YCw==
  • Thread-topic: [RESEND][PATCH 3/5]MTRR/PAT virtualization

basic MTRR/PAT virtualization.
The basic idea is listed below:
        The guest page attribute is virtualized through shadow page
attribute. First, get the effective guest page attribute, by calculating
from the combination of guest MTRR/PAT. Then the shadow page attribute
is calculated from effective guest page attribute and host MTRR. If
conflict occurs(e.g effective guest page attribute is WB, host MTRR of
this range is UC, can't set this page attribute as guest required), set
this range as UC. Some lookup tables are added to accelerate above
procedure.

Signed-off-by: Disheng Su <disheng.su@xxxxxxxxx>

Best Regards,
Disheng, Su

Attachment: mtrr_03_mtrr.patch
Description: mtrr_03_mtrr.patch

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.