From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Krasnyansky Subject: Re: [PATCH 1/5] husb: support for USB host device auto disconnect. Date: Thu, 14 Aug 2008 14:41:11 -0700 Message-ID: <48A4A677.2090606@kernel.org> References: <75c6e94e6d567896941e879ef7eddb29ecc3f6fa.1218685608.git.maxk@kernel.org> <48A45D2E.5000704@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Anthony Liguori Return-path: Received: from hera.kernel.org ([140.211.167.34]:45520 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751650AbYHNVlY (ORCPT ); Thu, 14 Aug 2008 17:41:24 -0400 In-Reply-To: <48A45D2E.5000704@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: 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