From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42166 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmuKz-0007Ur-78 for qemu-devel@nongnu.org; Tue, 08 Feb 2011 15:39:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmuKy-0004xc-Av for qemu-devel@nongnu.org; Tue, 08 Feb 2011 15:39:01 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:51621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmuKy-0004xP-03 for qemu-devel@nongnu.org; Tue, 08 Feb 2011 15:39:00 -0500 Message-ID: <4D51A9E2.7000609@web.de> Date: Tue, 08 Feb 2011 21:38:58 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <1297185509-20996-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1297185509-20996-1-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig46AF6F7F5CEDEE57C2F6004A" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [CFT PATCH 00/12] Tricky parts of my iothread-for-win32 stuff List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig46AF6F7F5CEDEE57C2F6004A Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 2011-02-08 18:18, Paolo Bonzini wrote: > Ok, so let's start the dance... >=20 > These are the generic parts of the iothread-for-win32 work I made > last year, rebased to today's qemu (qemu-kvm.git/uq/master merged > with qemu.git/master, because it conflicts with some patches from Jan).= More breakage to come :). But that can be sorted out. > I never tested them too much, and that's one of the reasons why I never= > submitted the stuff. Perhaps with some help they can make it this time= =2E >=20 > Testing I made now is still a bit limited, but the patches can boot > RHEL and Fedora under both Windows iothread and Linux iothread. FWIW, > under Wine I need iothread to boot Linux. >=20 > The main idea is to replace timedwaits with waits. First because the > timedwaits were such only out of laziness; second because timedwait > is a pain to implement for Win32 where we have to manually implement > condvars. I bet that timed polling was just to work around early fragility of the iothread code /wrt TCG. qemu-kvm does not poll either (but uses an "interesting" mixture of !IOTHREAD and private code instead...). The conversion makes sense, though I haven't looked at every detail. Jan --------------enig46AF6F7F5CEDEE57C2F6004A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk1RqeIACgkQitSsb3rl5xTvLgCfVdPiQ4gp/+XDr94EVFz+xZ18 ickAoLjPJpQWR5wmXdVgmK7x7swcHmYt =Zut8 -----END PGP SIGNATURE----- --------------enig46AF6F7F5CEDEE57C2F6004A--