From: Keir Fraser Subject: Re: [PATCH][RFC] Supporting Enlightened Windows 2008Server Date: Fri, 07 Mar 2008 13:30:35 +0000 Message-ID: References: <47D04F2F.E57C.0030.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47D04F2F.E57C.0030.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ky Srinivasan , Tim Deegan Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 7/3/08 01:10, "Ky Srinivasan" wrote: > I agree that there is no need to isolate the shim's dependence on the base Xen > code (xen_call_vector_t). I implemented this shim a year ago and at that point > it was not clear what Microsoft might do with the Veridian specification. So, > clearly some of the design choices that I made a year ago may not be the right > choice today. However, I still think that having an intercept framework where > one can implement Veridian specific functionality without cluttering up the > base Xen code is still the right approach. Clearly putting the Viridian hypercall shims in a different file/directory makes sense. But I think the shims would need to go on a diet. The TLB flushing implementation is a good example -- the useful extra features of the Viridian flush hypercall (if there are any, when partnered with Xen's shadow code) should be pushed into core Xen HVM TLB-flush handling code. Otherwise it sits out on the periphery with a correspndingly greater tendency to rot, and for no benefit (certainly I would strongly argue it is not cleaner!). -- Keir