From: Keir Fraser Subject: Re: PATCH: fix transparent virtualization issue (Re) Date: Thu, 18 May 2006 13:32:53 +0100 Message-ID: References: <200605171317.25885.Tristan.Gingold@bull.net> <200605181410.07474.Tristan.Gingold@bull.net> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200605181410.07474.Tristan.Gingold@bull.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tristan Gingold Cc: xen-devel@lists.xensource.com, Alex Williamson , xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 18 May 2006, at 13:10, Tristan Gingold wrote: > here are two patches for transparent virtualization. > xen-transvirt4.diffs replaces uses of xen_init() by running_on_xen on > common > and x86 code. > > xen-transvirt3.diffs is for xen/ia64: it add a call to xen_init() very > early. > > I think this is cleaner than previous way. Please make running_on_xen a function rather than a variable. I see you end up turning it into a function for modules anyway, and I'd rather have a function wrapper around a variable than a variable wrapper around a function. :-) It'll give us a bit more flexibility in future too. -- Keir