On 8 October 2012 21:23, Anthony Liguori <anth...@codemonkey.ws> wrote:
> It may be possible to cheat and compile the TCG + CPU code multiple
> times as dynamic libraries.  You can then load the libraries with
> dlopen() with local symbol resolution.

...and when the common code wants to (say) call cpu_exit() on a
particular core, how does it know which DLL's version to call?
That said, I have a feeling I've heard about people trying this
kind of approach before, so it's probably possible to get something
that works on at least one host OS. I think doing it "properly"
would be less of a hack, though...

-- PMM

Reply via email to