Re: [Qemu-discuss] Handling signal of Qemu thread

2018-08-20 Thread Peter Maydell
On 20 August 2018 at 16:07, Probir Roy wrote: >> What exactly are you trying to do >> with your new signal ? > > I am implementing PEBS (Intel's Precise-Event Based Sampling) > virtualization, so that I can sample guest OS from host machine using > Linux Perf. The PEBS device is configured from

Re: [Qemu-discuss] Handling signal of Qemu thread

2018-08-20 Thread Probir Roy
> What exactly are you trying to do > with your new signal ? I am implementing PEBS (Intel's Precise-Event Based Sampling) virtualization, so that I can sample guest OS from host machine using Linux Perf. The PEBS device is configured from host's user space as perf event. I am registering a

Re: [Qemu-discuss] Handling signal of Qemu thread

2018-08-20 Thread Peter Maydell
On 16 August 2018 at 21:22, Probir Roy wrote: > I am registering a signal handler per Qemu thread (per VCPU) and > expecting to handle it in that thread context. But I never receive the > signal on the Qemu thread that is causing the event, rather the signal > is sent to parent thread context.

[Qemu-discuss] Handling signal of Qemu thread

2018-08-16 Thread Probir Roy
I am registering a signal handler per Qemu thread (per VCPU) and expecting to handle it in that thread context. But I never receive the signal on the Qemu thread that is causing the event, rather the signal is sent to parent thread context. Can you please explain the reason behind this? I also see