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][HVM] Removing 1:1 mapping from qemu-dm


On 28 Jun 2006, at 19:02, Nakajima, Jun wrote:

Sorry, I actually meant get/put_page_from_l1e(). Does that make the
problem easier? I'd be prepared to add an extra parameter to those
functions if really necessary.


That would be sensible ;-) I think we need to add an extra parameter to
those to specify the context (guest or shadow, for example) rather than
who's calling.

Since it's just get/put_page_from_l1e I think we should just duplicate the required bits in the shadow code. Could the required parts be merged into shadow_get/put_page_from_l1e()? For example, non of the I/O-page mapping stuff is needed at all yet. We could for now BUG_ON !valid_mfn() and flags in L1_DISALLOW_MASK.

Could you split your original patch into the updated changes to shadow mode, and a separate patch for the actual mapcache logic?

 -- Keir


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