From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbTcJ-0002tP-2b for qemu-devel@nongnu.org; Thu, 13 Aug 2009 02:16:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbTcD-0002pz-MT for qemu-devel@nongnu.org; Thu, 13 Aug 2009 02:16:50 -0400 Received: from [199.232.76.173] (port=53090 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbTcD-0002pq-EV for qemu-devel@nongnu.org; Thu, 13 Aug 2009 02:16:45 -0400 Received: from mx2.redhat.com ([66.187.237.31]:55150) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbTcC-0003jx-Rv for qemu-devel@nongnu.org; Thu, 13 Aug 2009 02:16:45 -0400 Date: Thu, 13 Aug 2009 09:15:22 +0300 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] Re: [PATCH] qemu/virtio: move features to an inline function Message-ID: <20090813061522.GD3029@redhat.com> References: <20090810194753.GA16803@redhat.com> <4A808437.8040307@codemonkey.ws> <20090810221940.GB17099@redhat.com> <4A80A0A1.2020905@codemonkey.ws> <20090811084807.GA3029@redhat.com> <4A816EEB.4070707@codemonkey.ws> <20090811134331.GA22661@redhat.com> <4A819780.4040002@codemonkey.ws> <20090811162537.GA25705@redhat.com> <4A83157C.9040009@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A83157C.9040009@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: avi@redhat.com, rusty@rustcorp.com.au, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org On Wed, Aug 12, 2009 at 02:18:20PM -0500, Anthony Liguori wrote: > Michael S. Tsirkin wrote: >> On >> >>> Why bother switching to userspace for migration? Can't you just have >>> get/set ioctls for the state? >>> >> >> I have these. But live migration requires dirty page logging. >> I do not want to implement it in kernel. >> > > Is it really that difficult? I think it would be better to just do that. The idea is if it can be in userspace, let's keep it there. > I wonder though if mmu notifiers can be used to make it transparent... Maybe they can, but that decision belongs to KVM. Avi, what do you think? > Regards, > > Anthony Liguori > >>> Regards, >>> >>> Anthony Liguori >>> >>>