|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-devel] Re: PATCH: fix transparent virtualization issue (Re)
Le Jeudi 18 Mai 2006 14:32, Keir Fraser a écrit :
> 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.
Hi,
here is the updated patch.
The function is now: is_running_on_xen().
Tested on ia64 bare box and on xen/ia64.
Tristan.
xen-transvirt-comm.diffs
Description: Text Data
xen-transvirt-ia64.diffs
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|