From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:50123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWjUM-0004tx-Ou for qemu-devel@nongnu.org; Mon, 29 Apr 2013 04:31:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWjUL-00055q-Hz for qemu-devel@nongnu.org; Mon, 29 Apr 2013 04:31:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWjUL-00055Y-BO for qemu-devel@nongnu.org; Mon, 29 Apr 2013 04:31:09 -0400 Message-ID: <517E30AF.5050603@redhat.com> Date: Mon, 29 Apr 2013 10:34:55 +0200 From: Hans de Goede MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] about the usbredirect lib problem run under Windows List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: zhou link Cc: spice-devel , qemu-devel@nongnu.org, kraxel@redhat.com Hi, On 04/28/2013 04:09 AM, zhou link wrote: > Hans de Goede & Gerd Hoffmann: > > > theses days i try to migrate the usbredir lib to Windows > > the usbredir-0.6/usbredirserver/usbredirserver.c connect to qemu's redirect channel and spicec connect to the guest > > the usbredirserver works smooth in Linux, spicec show the usb disk works well. > > > when i compile usbredir on Windows, usbredirserver connect and open usb device ok, usbredirserver is not supported under Windows. It may compile, but it won't work, as it depends on select() for usb event handling and libusb does not support select under windows. Regards, Hans