From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqeQL-0007sg-6t for qemu-devel@nongnu.org; Wed, 22 Mar 2017 07:27:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqeQI-0001sD-3m for qemu-devel@nongnu.org; Wed, 22 Mar 2017 07:27:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54130) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqeQH-0001rm-UA for qemu-devel@nongnu.org; Wed, 22 Mar 2017 07:27:26 -0400 References: <1322109813.6444955.1490172025040.JavaMail.zimbra@redhat.com> <218df442-1a31-e969-32ef-01184fae84c0@redhat.com> From: Paolo Bonzini Message-ID: <2d7a5a9a-8a7b-1bae-feb8-80fc4ee3048a@redhat.com> Date: Wed, 22 Mar 2017 12:27:22 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Guest application reading from pl011 without device driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jiahuan Zhang Cc: QEMU Developers On 22/03/2017 11:28, Jiahuan Zhang wrote: > > A function that lets a process sleep until data is available on the > socket. The solution is to rewrite Windows chardev handling in QEMU to > use threads or overlapped I/O. > > Yes, socket is working well. Will you add the "select" to pipe > implementation? It's Windows that doesn't support it (the Windows function name is WaitForSingleObject). Paolo > Or shall I look into it and fix? Since in my case, I prefer windows pipe > to socket. > But if I do, definitly, I will spend much more effort than you, the experts.