From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTkZS-0004cb-2Z for qemu-devel@nongnu.org; Thu, 14 Aug 2008 17:41:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTkZQ-0004bX-55 for qemu-devel@nongnu.org; Thu, 14 Aug 2008 17:41:25 -0400 Received: from [199.232.76.173] (port=38740 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTkZP-0004bU-Pm for qemu-devel@nongnu.org; Thu, 14 Aug 2008 17:41:23 -0400 Received: from hera.kernel.org ([140.211.167.34]:35624) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KTkZP-0004jo-2Y for qemu-devel@nongnu.org; Thu, 14 Aug 2008 17:41:23 -0400 Message-ID: <48A4A677.2090606@kernel.org> Date: Thu, 14 Aug 2008 14:41:11 -0700 From: Max Krasnyansky MIME-Version: 1.0 References: <75c6e94e6d567896941e879ef7eddb29ecc3f6fa.1218685608.git.maxk@kernel.org> <48A45D2E.5000704@codemonkey.ws> In-Reply-To: <48A45D2E.5000704@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 1/5] husb: support for USB host device auto disconnect. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org Anthony Liguori wrote: > I'm surprised there isn't an EOF when the device is disconnected. There > has to be some sort of userspace notification that a device has been > unplugged. I don't really like the idea of polling but it wouldn't > surprise me if we had to. I just sent you a patch that removes this polling mechanism. As I mentioned async handler can actually detect that by itself. Max