On 04/22/09 18:23, Avi Kivity wrote: > Gerd Hoffmann wrote: >> The function calls in the source code (xen backend drivers) are not >> changed directly, but using a include file with a bunch of #defines. >> That way I don't have to change s/xc_evtchn_/xc_evtchn./ all over the >> place. Also xenner can easily be disabled at compile time and the >> indirect function pointer calls simply go away then. > > I don't think the last bit is worthwhile. Function pointers these days > are pretty fast, their cost will be dwarfed by the syscall and hypercall > overhead. New revision of the patch. >> - --disable-xen) xen="no" >> + --disable-xen) xen="no"; xenner="no" > > It would be nice to be able to build without the original Xen libraries. Planned for. Will not work (yet) though as I'll have to emulate all xen bits, and the event channels are only a part of the whole story. > Curious, can there be any domain other than the guest and the fake dom0 > you're emulating? Simplified that. cheers, Gerd