From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Qih-0007rI-Lb for qemu-devel@nongnu.org; Tue, 13 Mar 2012 08:20:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7Qi9-0000wR-Sb for qemu-devel@nongnu.org; Tue, 13 Mar 2012 08:20:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Qi9-0000vm-LM for qemu-devel@nongnu.org; Tue, 13 Mar 2012 08:20:17 -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 q2DCKFT7016485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 13 Mar 2012 08:20:15 -0400 From: Gerd Hoffmann Date: Tue, 13 Mar 2012 13:20:05 +0100 Message-Id: <1331641211-20077-9-git-send-email-kraxel@redhat.com> In-Reply-To: <1331641211-20077-1-git-send-email-kraxel@redhat.com> References: <1331641211-20077-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 08/14] uhci: cancel on schedule stop. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Cancel any in-flight transaction when the guest stops the uhci schedule. Signed-off-by: Gerd Hoffmann --- hw/usb/hcd-uhci.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 416f703..5177e33 100644 --- a/hw/usb/hcd-uhci.c +++ b/hw/usb/hcd-uhci.c @@ -1126,6 +1126,7 @@ static void uhci_frame_timer(void *opaque) if (!(s->cmd & UHCI_CMD_RS)) { /* Full stop */ qemu_del_timer(s->frame_timer); + uhci_async_cancel_all(s); /* set hchalted bit in status - UHCI11D 2.1.2 */ s->status |= UHCI_STS_HCHALTED; -- 1.7.1