Received: from eggs.gnu.org ([140.186.70.92]:33520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rt8vD-0002JC-TV for qemu-devel@nongnu.org; Thu, 02 Feb 2012 21:30:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rt8vC-0007ph-RV for qemu-devel@nongnu.org; Thu, 02 Feb 2012 21:30:43 -0500 Received: from nm35-vm6.bullet.mail.ne1.yahoo.com ([98.138.229.102]:38858) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Rt8vC-0007pW-KB for qemu-devel@nongnu.org; Thu, 02 Feb 2012 21:30:42 -0500 Message-ID: <477413.37640.bm@smtp101.mail.ne1.yahoo.com> Date: Thu, 02 Feb 2012 18:29:58 -0800 From: Sean Halle Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] libqemu for use in parallel-language based simulator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, We=92re trying to use QEMU as a library in our=20 research. We have created a parallel language for=20 simulating parallel activities. The language=20 controls the suspension and re-animation of=20 threads it creates, in such a way that physical=20 memory contents remains consistent with the order of events in simulation= time. We want to simulate processors, using QEMU as=20 their behavior. This means the language has to=20 control suspending QEMU and re-animating it.=20 Which works fine if QEMU is called as a library,=20 in one of the language=92s threads. Libvirt won't work =AD our language doesn=92t=20 have control over OS threads =AD and the overhead=20 of OS threads is around 50x higher than our=20 language, even more on larger machines (We just=20 submitted a paper measuring the difference). libqemu appears to be the heart of what we=20 need. Just the core functionality of a=20 processor's instruction-set. We will need a few=20 thousand or so separate processor-states, similar=20 to how COREMU has multiple processor states. Searches for other tools that use libqemu=20 this way haven't yielded results.. We're just in=20 the planning stages of adding QEMU.. any help on=20 problems we're likely to encounter, or places=20 that others may have used libqemu by itself, will be greatly appreciated, Thanks, Sean