Received: from eggs.gnu.org ([208.118.235.92]:40831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVjoY-0005Ag-6v for qemu-devel@nongnu.org; Tue, 06 Nov 2012 09:07:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVjoS-00056j-MZ for qemu-devel@nongnu.org; Tue, 06 Nov 2012 09:07:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:7756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVjoS-00054u-EP for qemu-devel@nongnu.org; Tue, 06 Nov 2012 09:07:32 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA6E7PxF023137 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 6 Nov 2012 09:07:25 -0500 From: Hans de Goede Date: Tue, 6 Nov 2012 15:08:13 +0100 Message-Id: <1352210901-1923-1-git-send-email-hdegoede@redhat.com> Subject: [Qemu-devel] usb: Move interrupt handling from poll to async handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org This patchsets move interrupt handling for usb-redir and usb-hid devices over from polling to async handling. Together with a patch to allow async stepdown in ehci when the periodic schedule only contains interrupt queues, and a patch to allow usb-hid devices to connect to ehci, this fixes the usb-tablet causing a crazy cpu load for idle guests. With this patchset the cpuload for a fully idle vm with usb-tablet is lowered from 20% to 2-3% (on my laptop). Regards, Hans