From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkvLK-0001w5-Dn for qemu-devel@nongnu.org; Tue, 18 Dec 2012 06:28:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TkvLJ-0004DG-GH for qemu-devel@nongnu.org; Tue, 18 Dec 2012 06:28:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkvLJ-0004DA-8w for qemu-devel@nongnu.org; Tue, 18 Dec 2012 06:28:13 -0500 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 qBIBSCpY015626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 18 Dec 2012 06:28:12 -0500 Message-ID: <50D053D7.3080408@redhat.com> Date: Tue, 18 Dec 2012 12:30:31 +0100 From: Hans de Goede MIME-Version: 1.0 References: <1355492147-5023-1-git-send-email-hdegoede@redhat.com> <1355492147-5023-10-git-send-email-hdegoede@redhat.com> <50CF1B33.7060708@redhat.com> <50CF2AFB.2050705@redhat.com> <50CF2EB3.9020501@redhat.com> <50CF308C.70204@redhat.com> <50CF3167.7080707@redhat.com> <50D0437B.80106@redhat.com> <50D04D7D.3000404@redhat.com> In-Reply-To: <50D04D7D.3000404@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 09/26] ehci: Use uframe precision for interrupt threshold checking List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org Hi, On 12/18/2012 12:03 PM, Gerd Hoffmann wrote: > Hi, > >> Can qemu not handle an mmio range where writes are trapped, but reads are >> not? That would force the use of the shadow variable, but should otherwise >> provide a nice speedup. > > No. vmexit is needed anyway btw, but the round-trip to qemu userspace > could be short-cutted in theory. It's non-trivial though. Alex had a > talk about it at kvm forum (covering ide). Ok, then I'll respin the patch getting rid of the shadow variable. Regards, Hans