Re: [Qemu-devel] gen_icount_start

2013-01-18 Thread biswaranjan panda
s=132842 Regards, Biswa On Sun, Dec 30, 2012 at 8:01 PM, Peter Maydell wrote: > On 30 December 2012 23:14, biswaranjan panda > wrote: > > What I understand is that in gen_icount_start 'icount_arg' keeps a > pointer > > to gen_opparam_ptr which is used in gen

[Qemu-devel] host_alarm_handler

2013-01-11 Thread biswaranjan panda
Hi, I was making some changes to qemu and for a particular change I needed to stop the host_alarm_handler being called because of SIGALRM. To disable any SIGALRM being generated, I changed ev.sigev_notify = SIGEV_NONE; in *dynticks_start_timer *from ev.sigev_notify = SIGEV_SIGNAL. Yet I see th

[Qemu-devel] gen_icount_start

2012-12-30 Thread biswaranjan panda
Hi , I am trying to understand how to count the number of instructions executed in the guest and came across the gen_icount_start and gen_icount_end functions. What I understand is that in gen_icount_start 'icount_arg' keeps a pointer to gen_opparam_ptr which is used in gen_icount_end to patch up