[Qemu-devel] A strange segmentation fault

2007-03-25 Thread Heng Yin
Hi Qemu developers, I'm running into a strange problem, when I do some implementation on Qemu. In target_i386/op.c, if I add a function call in the following function, Qemu will crash immediately after execution. void OPPROTO op_jnz_T0_label(void) { helper_test(T0); //this is the

[Qemu-devel] On-demand taint tracking

2007-02-23 Thread Heng Yin
Hi Qemu developers, I have implemented a whole-system taint tracking system on Qemu. But the performance overhead is big. Now I want to optimize it by performing on-demand taint tracking. The idea is that Qemu runs in virtualization mode most of time (running with kqemu), and switches to

[Qemu-devel] a strange segmentation fault

2006-12-06 Thread Heng Yin
Hi QEMU developers, I'm running into a strange problem when I add some my own stuff in QEMU. If I add a function call in the following position, QEMU will crash immediately after execution. In target-i386/op.c: void OPPROTO op_jnz_T0_label(void) { helper_test(T0); //my own function if

Re: [Qemu-devel] a strange segmentation fault

2006-12-06 Thread Heng Yin
Paul, Thank you! I didn't know it, as nobody told me. :) Heng Paul Brook wrote: helper_test(T0); //my own function if (T0) GOTO_LABEL_PARAM(1); FORCE_RET(); ops that use GOTO_LABEL_PARM or EXIT_TB must not have a stack frame. Paul

[Qemu-devel] qemu cannot recognize audio CD

2006-09-07 Thread Heng Yin
I run Qemu under Linux, and run Windows XP as guest OS. When I insert an audio CD into CDROM, and use parameter -cdrom /dev/cdrom to run Qemu, Qemu quits immediately, showing the error message: qemu: could not open hard disk image '/dev/cdrom'. I also tried to insert a data cd first to start

[Qemu-devel] qemu cannot recognize audio cd

2006-09-05 Thread Heng Yin
I run Qemu under Linux, and run Windows XP as guest OS. When I insert an audio CD into CDROM, and use parameter -cdrom /dev/cdrom to run Qemu, Qemu quits immediately, showing the error message: qemu: could not open hard disk image '/dev/cdrom'. I also tried to insert a data cd first to start