Re: A proposal - binary
From: Jeremy Fitzhardinge
Date: Fri Aug 04 2006 - 17:24:02 EST
David Lang wrote:
how can I compile in support for Xen4 on my 2.6.18 kernel? after all
xen 2 and xen3 are incompatable hypervisors so why wouldn't xen4 (and
I realize there is no xen4 yet, but there is likly to be one during
the time virtual servers created with 2.6.18 are still running)
Firstly, backwards compatibility is very important; I would guess that
if there were a Xen4 ABI, the hypervisor would still support Xen3 for
some time. Secondly, if someone goes to the effort of backporting a
Xen4 paravirtops driver for 2.6.18, then you could compile it in.
I also am missing something here. how can a system be compiled to do
several different things for the same privilaged opcode (including
running that opcode) without turning that area of code into a
performance pig as it checks for each possible hypervisor being present?
Conceptually, the paravirtops structure is a structure of pointers to
functions which get filled in at runtime to support whatever hypervisor
we're running over. But it also has the means to patch inline versions
of the appropriate code sequences for performance-critical operations.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/