[Qemu-devel] Instrumenting softmmu_header.h

2007-05-15 Thread divya arora
Hi, I want to print out all memory accesses to a log file. Fo this I instrumented the ld and st macros in softmmu_header.h which results in the error "error can't find a register in class 'GENERAL_REGS' while reloading 'asm'" I tried calling an extern function from the macro which actually fprint

[Qemu-devel] micro-instruction size

2007-05-14 Thread divya arora
Hi, I want to instrument call instruction so that my tracking function is called on each call instruction. >From what I understand, I should a) change target-i386/translate.c case 0xe8 to generate my own microinstruction, say gen_op_mycall() b) Add functionality of op_mycall() to target-i386/op.c

[Qemu-devel] New hardware emulation

2006-07-07 Thread divya arora
Hi, Can I add code to model additional hardware in Qemu? Specifically, I want to add a tracing module that dumps out the virtual and physical address of the executing program's instruction and data accesses. (I can't figure out if Qemu models the mmu) Thanx