From patchwork Fri Jul 6 10:09:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 169403 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id D98F12C00E7 for ; Fri, 6 Jul 2012 20:09:28 +1000 (EST) Received: from localhost ([::1]:57392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn5Ta-0003or-Ic for incoming@patchwork.ozlabs.org; Fri, 06 Jul 2012 06:09:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn5TK-0003X7-W4 for qemu-devel@nongnu.org; Fri, 06 Jul 2012 06:09:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sn5TB-0001OZ-4f for qemu-devel@nongnu.org; Fri, 06 Jul 2012 06:09:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn5TA-0001NQ-Sq for qemu-devel@nongnu.org; Fri, 06 Jul 2012 06:09:01 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q66A8x0A001915 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Jul 2012 06:08:59 -0400 Received: from shalem.localdomain.com (vpn1-4-112.ams2.redhat.com [10.36.4.112]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q66A8uCl001768; Fri, 6 Jul 2012 06:08:58 -0400 From: Hans de Goede To: Gerd Hoffmann Date: Fri, 6 Jul 2012 12:09:32 +0200 Message-Id: <1341569373-9478-2-git-send-email-hdegoede@redhat.com> In-Reply-To: <1341569373-9478-1-git-send-email-hdegoede@redhat.com> References: <1341569373-9478-1-git-send-email-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: Hans de Goede , qemu-devel@nongnu.org, kvm@vger.kernel.org Subject: [Qemu-devel] [PATCH 1/2] usb-redir: Correctly handle the usb_redir_babble usbredir status X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Hans de Goede --- hw/usb/redirect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 5f55d78..c6358c0 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -1058,6 +1058,8 @@ static int usbredir_handle_status(USBRedirDevice *dev, case usb_redir_inval: WARNING("got invalid param error from usb-host?\n"); return USB_RET_NAK; + case usb_redir_babble: + return USB_RET_BABBLE; case usb_redir_ioerror: case usb_redir_timeout: default: