* [Qemu-devel] TCG question reg. tcg_cpu_exec()
@ 2016-03-14 15:26 Pranith Kumar
2016-03-25 15:01 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Pranith Kumar @ 2016-03-14 15:26 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-devel
Hello Paolo,
I have a question reg. tcg_cpu_exec(cpu) which is called from tcg_exec_all().
tcg_cpu_exec() is called for each cpu in a loop. I observed that this
call does not always execute TBs on that particular CPU. It return
because the exit_request is set.
I am trying to understand what scenarios can result in no TBs
executing for that CPU. My understanding is that there is a pending
operation which needs to be handled before we can execute TBs from
this CPU(I/O?).
Can you please explain what is happening or point me to the relevant
portions of the code I need to look at to understand why this is
happening?
Thanks!
--
Pranith
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] TCG question reg. tcg_cpu_exec()
2016-03-14 15:26 [Qemu-devel] TCG question reg. tcg_cpu_exec() Pranith Kumar
@ 2016-03-25 15:01 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2016-03-25 15:01 UTC (permalink / raw)
To: Pranith Kumar; +Cc: qemu-devel
On 14/03/2016 16:26, Pranith Kumar wrote:
> I am trying to understand what scenarios can result in no TBs
> executing for that CPU. My understanding is that there is a pending
> operation which needs to be handled before we can execute TBs from
> this CPU(I/O?).
For example the CPU could be halted and won't execute until it receives
an interrupt.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-25 15:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-14 15:26 [Qemu-devel] TCG question reg. tcg_cpu_exec() Pranith Kumar
2016-03-25 15:01 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).