qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Doubts on SMP, VCPU and CONFIG_IOTHREAD
@ 2012-09-18  6:27 Alex Barcelo
  2012-09-18  8:19 ` Paolo Bonzini
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Barcelo @ 2012-09-18  6:27 UTC (permalink / raw)
  To: qemu-devel

Sorry for being so confused, I am sure that there is some manual which
I haven't read, but I am not able to find it :-\

I saw some things[1] about multiple vcpu, smp and things like that. It
seemed to me that --enable-io-thread enables it. But, it only works
for KVM, doesn't it? I assume that there is NOT one thread per vcpu in
TCG mode. And this --enable-io-thread now is the default? This option
is always active? Now I was wondering if something "parallel" is done
in TCG (maybe through coroutines?). No truly parallel, I know, but...
"logically parallel" if you know what I mean. I have been unable to
find it on the code.

Also, the problem on multithreading the execution of qemu-system is
the translation, right? TCG is not thread safe and cannot be run in a
parallel mode. Right?

[1] http://blog.vmsplice.net/2011/03/qemu-internals-overall-architecture-and.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-19 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18  6:27 [Qemu-devel] Doubts on SMP, VCPU and CONFIG_IOTHREAD Alex Barcelo
2012-09-18  8:19 ` Paolo Bonzini
2012-09-19 15:16   ` Alex Barcelo

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).