From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH 3/3] Add KVM support to QEMU Date: Tue, 04 Nov 2008 08:50:51 -0600 Message-ID: <4910614B.1010602@us.ibm.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> <49104D1F.1020905@redhat.com> <491055F9.60802@us.ibm.com> <4910602B.5060101@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, Glauber Costa , kvm-devel To: Avi Kivity Return-path: Received: from e8.ny.us.ibm.com ([32.97.182.138]:44976 "EHLO e8.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752648AbYKDOvD (ORCPT ); Tue, 4 Nov 2008 09:51:03 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e8.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id mA4ElOns008340 for ; Tue, 4 Nov 2008 09:47:24 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mA4Eox6V098828 for ; Tue, 4 Nov 2008 09:51:02 -0500 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mA4Eovhe031747 for ; Tue, 4 Nov 2008 09:50:58 -0500 In-Reply-To: <4910602B.5060101@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Avi Kivity wrote: > Anthony Liguori wrote: > >>> I think live migration is now broken, since kvm accesses will not >>> update the qemu dirty bitmap. >> >> Eh? I don't follow you here. >> > > guest writes in qemu set the qemu dirty bitmap (for > cpu_physical_memory_get_dirty()), but guest accesses in kvm won't, > unless you enable dirty tracking and synchronize kvm's bitmap to > qemu's. See the changes to migration.c in kvm's qemu. Oh yes, that falls under the save/restore TODO item. Regards, Anthony Liguori