From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SioIS-0001OX-C7 for qemu-devel@nongnu.org; Sun, 24 Jun 2012 11:00:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SioIQ-0007sw-MW for qemu-devel@nongnu.org; Sun, 24 Jun 2012 11:00:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SioIQ-0007sc-EF for qemu-devel@nongnu.org; Sun, 24 Jun 2012 11:00:14 -0400 Message-ID: <4FE72B6E.8040900@redhat.com> Date: Sun, 24 Jun 2012 17:59:58 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4FE4F56D.1020201@web.de> <4FE4F7F5.7030400@web.de> <20120623002259.GA13440@amt.cnet> <20120623090646.GA21908@amt.cnet> <4FE5AC75.1020504@web.de> <4FE71F71.7030908@web.de> <4FE7259F.4030100@redhat.com> <4FE726CF.5090906@web.de> <4FE72838.9070301@redhat.com> <4FE72980.5030807@web.de> <4FE72AA5.5070203@redhat.com> <4FE72B0C.5060908@web.de> In-Reply-To: <4FE72B0C.5060908@web.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] kvm: First step to push iothread lock out of inner run loop List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Liu Ping Fan , kvm , qemu-devel , Marcelo Tosatti , Alexander Graf , liu ping fan , Anthony Liguori On 06/24/2012 05:58 PM, Jan Kiszka wrote: >>> Are there really cases where the framebuffer is accessible both via MMIO >>> and RAM-like mappings at the same time? If so, the current flushing on >>> vmexit would help either as the direct mappings would not trigger exits. >>> Or what do you mean? >> >> I meant accesses by the display code to put the framebuffer in front of >> the user's eyes. Those just access the memory directly. We could wrap >> them with memory_region_get/put_ram_ptr() (as Xen requires anyway) and >> have those issue the flush. > > That's a non issue, we already have to flush on display updates. See > e.g. vga_update_display. > Ah, of course. -- error compiling committee.c: too many arguments to function