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] more correct pfn_valid()

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Scott Parish" <srparish@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [patch] more correct pfn_valid()
From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Thu, 19 May 2005 17:50:04 +0800
Delivery-date: Thu, 19 May 2005 09:49:45 +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: AcVb9aZ7Rlj1GNpbTJqBIcUW7A2ChAAANsGgAAkVbyAACQmCUAAAqYiQAADuuCAAAHE4wAAA0NrwAAAvHuAAAFFFUAABmb1gAABZ/HAAAG5yIAAAZ2WQ
Thread-topic: [Xen-devel] [patch] more correct pfn_valid()
Ian Pratt wrote:
>> OK, got it. Then, aside from para-virtualized linux, do you
>> agree that some change should be made to unmodified vmx
>> domain build and DM? When domain creation in CP and when DM
>> services other domain, they shouldn't operate DomN's memory
>> by simply acquiring a plain continuous page_array which has
>> no hole information. Either extra information about hole, or
>> the page_array itself containing hole, should be added thereafter...
> 
> vmx domains already have a virtually mapped pfn->mfn table stored
> within Xen.
> See phys_to_machine_mapping(gpfn)
> 
Yes, but current VMX code is still using a simple contiguous page_array 
to do foreign map although there is phys_to_machine_mapping in HV. It is
just a
 minor bug. Probably providing phys_to_machine_mapping to DM like kevin
suggested 
through a special hypercall is an easy way for DM to do map right.
Comments?
Eddie

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