Re: [Qemu-devel] Doubt with qemu_cpu_is_self (non-KVM)

2013-02-25 Thread Peter Maydell
On 25 February 2013 19:07, Alex Barcelo wrote: > I'm struggling with the code to understand the "duty and soul" of the > "qemu_cpu_is_self" function (@cpus.c), and I quite not get it. > > I see that this function is called from some points. E.g., from > tcg_hangle_interrupt and run_on_cpu. Amongst

Re: [Qemu-devel] Doubt with qemu_cpu_is_self (non-KVM)

2013-02-25 Thread Andreas Färber
Am 25.02.2013 20:07, schrieb Alex Barcelo: > I'm struggling with the code to understand the "duty and soul" of the > "qemu_cpu_is_self" function (@cpus.c), and I quite not get it. > > I see that this function is called from some points. E.g., from > tcg_hangle_interrupt and run_on_cpu. Amongst oth

[Qemu-devel] Doubt with qemu_cpu_is_self (non-KVM)

2013-02-25 Thread Alex Barcelo
I'm struggling with the code to understand the "duty and soul" of the "qemu_cpu_is_self" function (@cpus.c), and I quite not get it. I see that this function is called from some points. E.g., from tcg_hangle_interrupt and run_on_cpu. Amongst others. Sometimes, seems to me that this function duty