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/
Home Products Support Community News


[Xen-devel] Re: PATCH: fix transparent virtualization issue (Re)

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

Xen-devel mailing list