From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC v4 23/58] vga: convert vga and its derivatives to the memory API Date: Wed, 20 Jul 2011 17:55:39 +0300 Message-ID: <4E26EC6B.1040307@redhat.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:15140 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752028Ab1GTOzq (ORCPT ); Wed, 20 Jul 2011 10:55:46 -0400 In-Reply-To: <4E26EB9F.10802@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: 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