[Qemu-devel] Qemu overheads

2014-06-09 Thread João Corrêa
Hi, I'm writing a scientific paper in which I'm using Qemu as a DBT tool. I would like to know if there is any available literature about benchmarking QEMU and known overheads/slowdowns decurrent from the usage of QEMU as a tool. Thank you very much. João.

[Qemu-devel] QEMU linking error with --enable-gprof

2013-05-06 Thread João Corrêa
Hi Everyone, I've been trying to compile QEMU with --enable-gprof on ubuntu, but I'm getting a linking error. /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/gcrt1.o: relocation R_X86_64_32S against `__libc_csu_fini' can not be used when making a shared object; recompile with -fP

[Qemu-devel] Help with entry memory area

2012-04-13 Thread João Corrêa
Hi Guys, I'm trying to understand better intermediate code generation with qemu and I'm having some problems. I've seen that qemu have some different memory areas, such as code, start_brk, end_code... One of these areas is 'entry'. What exactly this area keeps? I've been able to see, through '-d o

[Qemu-devel] help with helper functions

2012-03-19 Thread João Corrêa
Hi Guys, I'm trying to use some helper functions to instrument translated code, but I'm getting some segfaults while doing it. Here are some code I've placed: target-i386/helper.h DEF_HELPER_1(foo, void, tl) target-i386/op_helper.c #ifdef TARGET_X86_64 void foo(target_ulong t0){ } target-i386

[Qemu-devel] Recovering the original instruction address

2012-03-13 Thread João Corrêa
Hi Guys, Simple question. Considering that I am running code translated into tcg using the interpreter (tci), is it possible for me to, based on the instruction's address on the code, recover the original address of the translated instruction on the target binary? Is there any data structure or fu

[Qemu-devel] Doubts about qemu tcg/tci

2012-03-01 Thread João Corrêa
Hi, Hopefully I'm sending this e-mail to the right list. If not, please ignore it! I'm trying to read the asm code generated with the -D qemu option, but I am having some difficulties. First, I've seen that the generated asm is allocated in different address ranges. The beginning of the dump say