From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1dH6-0007T5-4n for qemu-devel@nongnu.org; Mon, 30 Jun 2014 11:13:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1dGx-0001I4-4O for qemu-devel@nongnu.org; Mon, 30 Jun 2014 11:13:44 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:43163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1dGw-0001Hh-Ti for qemu-devel@nongnu.org; Mon, 30 Jun 2014 11:13:35 -0400 Received: by mail-wi0-f172.google.com with SMTP id hi2so6268170wib.5 for ; Mon, 30 Jun 2014 08:13:34 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53B17E9A.3030001@redhat.com> Date: Mon, 30 Jun 2014 17:13:30 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <53ADE6F8.1070303@redhat.com> <53B14064.8010600@redhat.com> <53B175C9.3070806@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] The first function called after migration for a block device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xiongzi Ge Cc: qemu-devel@nongnu.org Il 30/06/2014 16:47, Xiongzi Ge ha scritto: > Hi, > I mean this function will be called after migration to do something for > the block device. I tried and debugged the qemu code. (like you have a > qcow2 format device. This function will be called. We can put anything > we want here. We can reopen a new device. We have a new format block > device which has a cache created by myself. I can modify and control the > cache after migration. Do you have any suggestions? Thanks. ) As long as the cache is entirely in QEMU, yes. This was not what your earlier messages implied. Paolo