You are right. I have changed my patch.
diff --git a/usbredirhost/usbredirhost.c b/usbredirhost/usbredirhost.c
index 3666227..609cf09 100644
--- a/usbredirhost/usbredirhost.c
+++ b/usbredirhost/usbredirhost.c
@@ -557,12 +557,20 @@ static int usbredirhost_claim(struct usbredirhost
*host, int init
Hey,
Sorry for the delay in looking at your patch,
On Sat, May 12, 2018 at 12:00:26PM +0800, Qiu Wenbo wrote:
> This is a patch trying to fix a bug caused by usbredir. The problem is when
> usbredir failed to claim all interface of a USB device it won't set
> host->claimed to 0.
The patch makes
This is a patch trying to fix a bug caused by usbredir. The problem is
when usbredir failed to claim all interface of a USB device it won't
set host->claimed to 0. After that, usbredirhost_release run by
usbredirhost_close will detach kernel driver and do a device reset even
some one is still u
You can redirect a USB device which is already redirected to another
virtual machine on the second attempt.
Signed-off-by: Qiu Wenbo
---
usbredirhost/usbredirhost.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/usbredirhost/usbredirhost.c b/usbredirhost/usbredirhost.c
index 3666227..e96d98
You can redirect a USB device which is already redirected to another
virtual machine on the second attempt.
Signed-off-by: Qiu Wenbo
---
usbredirhost/usbredirhost.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/usbredirhost/usbredirhost.c b/usbredirhost/usbredirhost.c
index 3666227..e96d98