From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzWXX-0007sO-9r for qemu-devel@nongnu.org; Tue, 24 Jun 2014 15:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzWXO-0004BW-7l for qemu-devel@nongnu.org; Tue, 24 Jun 2014 15:37:59 -0400 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:46572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzWXO-0004BK-0C for qemu-devel@nongnu.org; Tue, 24 Jun 2014 15:37:50 -0400 Received: by mail-wg0-f44.google.com with SMTP id x13so894163wgg.15 for ; Tue, 24 Jun 2014 12:37:49 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53A9D388.8080307@redhat.com> Date: Tue, 24 Jun 2014 21:37:44 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Live Migration with different block devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xiongzi Ge , qemu-devel@nongnu.org Il 24/06/2014 21:18, Xiongzi Ge ha scritto: > > When I do live migration, in the source and destination host, there are > different block devices, but qemu can not detect this. I used virtio as > the driver in kvm and in the vdi device in the guest is /dev/vda. So, > the vm guest can read different data from the same /dev/vda device. It's probably the guest kernel (not QEMU) that is caching data from the source's /dev/vda. What you are doing is not a valid usage of migration. What are you trying to do? Paolo