qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Using qemu-thread for synchronization
@ 2009-12-10 14:46 Liran Schour
  2009-12-10 15:28 ` Glauber Costa
  0 siblings, 1 reply; 2+ messages in thread
From: Liran Schour @ 2009-12-10 14:46 UTC (permalink / raw)
  To: qemu-devel


I want to be able to synchronize between the code that is running the live
migration with the code that call fro the completion callback of async IO.
For that I am using qemu-thread.c (i.e QemuCond). I see that I have
problems while linking if I do not use --enable-io-thread.
Can someone explain me this. And if I want to do the above what is the
right way to do that?

- Liran

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

* Re: [Qemu-devel] Using qemu-thread for synchronization
  2009-12-10 14:46 [Qemu-devel] Using qemu-thread for synchronization Liran Schour
@ 2009-12-10 15:28 ` Glauber Costa
  0 siblings, 0 replies; 2+ messages in thread
From: Glauber Costa @ 2009-12-10 15:28 UTC (permalink / raw)
  To: Liran Schour; +Cc: qemu-devel

On Thu, Dec 10, 2009 at 12:46 PM, Liran Schour <LIRANS@il.ibm.com> wrote:
>
> I want to be able to synchronize between the code that is running the live
> migration with the code that call fro the completion callback of async IO.
> For that I am using qemu-thread.c (i.e QemuCond). I see that I have
> problems while linking if I do not use --enable-io-thread.
> Can someone explain me this. And if I want to do the above what is the
> right way to do that?

qemu_thread is only available when you use --enable-io-thread.

But beware, it is not 100 % stable yet. I had a queue of patches
that makes it slightly better, tough...


-- 
Glauber  Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."

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

end of thread, other threads:[~2009-12-10 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10 14:46 [Qemu-devel] Using qemu-thread for synchronization Liran Schour
2009-12-10 15:28 ` Glauber Costa

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