|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] Re: [PATCH 2/7] Enable I/O thread and VNC threads by default |
Date: | Mon, 07 Feb 2011 17:23:13 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 02/07/2011 05:03 PM, Marcelo Tosatti wrote:
Is there any other issue that prevents turning CONFIG_IOTHREAD on by default?
I think Windows support.Signal support is actually easy because we can "hack" the IPI as "suspend the VCPU thread+do work in the iothread context+resume the VCPU thread" (the IPI handler doesn't longjmp).
Threading primitives support is tricky but not hard (there is lots of code around, especially if you can make assumptions such as "always hold the mutex while signaling a cond. variable").
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |