From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Qemu-devel] Re: [PATCH 3/3] Add KVM support to QEMU Date: Wed, 29 Oct 2008 11:54:11 +0200 Message-ID: <490832C3.4060602@redhat.com> References: <1225224814-9875-1-git-send-email-aliguori@us.ibm.com> <1225224814-9875-2-git-send-email-aliguori@us.ibm.com> <1225224814-9875-3-git-send-email-aliguori@us.ibm.com> <49078707.5000109@redhat.com> <49078955.2090109@codemonkey.ws> <5d6222a80810281604g39708040kf710725dce6413dd@mail.gmail.com> <4907A1FA.2060106@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Glauber Costa , qemu-devel@nongnu.org, Gerd Hoffmann , Glauber Costa , kvm-devel To: Anthony Liguori Return-path: Received: from mx2.redhat.com ([66.187.237.31]:37045 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752520AbYJ2JyT (ORCPT ); Wed, 29 Oct 2008 05:54:19 -0400 In-Reply-To: <4907A1FA.2060106@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: Anthony Liguori wrote: > Another place "hook" is updating a slot's dirty bitmap. Right now, > with my patchset we don't have live migration or the VGA RAM > optimization. There's nothing about the VGA RAM optimization that > wouldn't work for QEMU. I'm not sure that it really is an > optimization in the context of TCG, but I certainly don't think it's > any worse. The only thing you really need is to query the KVM dirty > bitmap when it comes time to enable start over querying the VGA dirty > bits. I don't understand this. The VGA optimization really is qemu's, the kvm modifications only cater to the different way of getting the dirty bits. > The same is needed for live migration, so I think what we really need > is to change the memory dirty bit tracking API to have a concept of > refresh that we can use to hook for KVM. > Can you elaborate on this refresh? -- error compiling committee.c: too many arguments to function