> On 17 Jan 2018, at 03:14, Ancuta, Cristian <cristian.anc...@intel.com> wrote: > > I'm currently working on implementing an emulation target in QEMU and the > implementation is in C++.
it might not be the answer you expect, but last time I tried to do a similar thing I encountered a problem that prevented the direct C++ integration into QEMU. I don't know if it is still the case, but a field in one of the main headers defining objects was called `class`, a reserved name in C++. so be sure you isolate the C++ code outside QEMU and access it only via a C interface; also be sure you do not include the QEMU headers in C++ files. regards, Liviu