From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjYBe-00057D-LV for qemu-devel@nongnu.org; Wed, 20 Jul 2011 10:55:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjYBc-0008Fh-TB for qemu-devel@nongnu.org; Wed, 20 Jul 2011 10:55:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjYBc-0008FM-8h for qemu-devel@nongnu.org; Wed, 20 Jul 2011 10:55:44 -0400 Message-ID: <4E26EC6B.1040307@redhat.com> Date: Wed, 20 Jul 2011 17:55:39 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1310901265-32051-1-git-send-email-avi@redhat.com> <1310901265-32051-24-git-send-email-avi@redhat.com> <4E26E0AF.9040503@siemens.com> <4E26E8CF.2080205@redhat.com> <4E26EA0F.40302@siemens.com> <4E26EAB3.7010708@redhat.com> <4E26EB9F.10802@siemens.com> In-Reply-To: <4E26EB9F.10802@siemens.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v4 23/58] vga: convert vga and its derivatives to the memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" On 07/20/2011 05:52 PM, Jan Kiszka wrote: > > > > Hmm, I guess you could just mark the entire range dirty after removing it. > > Maybe. > > So the problem is that the dirty bitmap is lost when we unregister a > region with the KVM kernel? Yes. What I'd like is an atomic API to replace the entire memory map. This fixes a number of obscure corner cases, and fits will with rcu. -- error compiling committee.c: too many arguments to function