From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzXWp-00021a-Sj for qemu-devel@nongnu.org; Tue, 24 Jun 2014 16:41:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzXWk-0007fZ-2F for qemu-devel@nongnu.org; Tue, 24 Jun 2014 16:41:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25748) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzXWj-0007fO-PA for qemu-devel@nongnu.org; Tue, 24 Jun 2014 16:41:14 -0400 Message-ID: <53A9E266.8080506@redhat.com> Date: Tue, 24 Jun 2014 14:41:10 -0600 From: Eric Blake MIME-Version: 1.0 References: <53A9D388.8080307@redhat.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2PKBLlmBdtFgubijxVwQFGSjEudAPUxcO" 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 , Paolo Bonzini Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2PKBLlmBdtFgubijxVwQFGSjEudAPUxcO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/24/2014 01:55 PM, Xiongzi Ge wrote: > Hi Paolo, >=20 > I am trying to do migration with two different block devices in the sou= rce > and destination hosts. For example, in the source the data in /dev/vda= > are 'aaaaa'. The guest has a cache. These data are cached. In the oth= er > host, the data in this device are 'bbbbb'. If we do migration, I want= > the guest vm recognize this change. How does qemu deal with the cache= > data? Thanks. If you want the guest to see different disk contents, then hotunplug the original and hotplug in the new disk. Migration is NOT supposed to change disk contents. Your problem is independent of migration. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --2PKBLlmBdtFgubijxVwQFGSjEudAPUxcO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTqeJmAAoJEKeha0olJ0NqMJkH/2agKEikqrh2SYkBcQWug/C0 Q2XTfBYEvl5bfVymPZ0UGux2ijdmHbZlX7D+a6alpMMYQQ1vTiUJzn0UkRz0WOT3 u8QTe6oeiWRtephePQrpQk6+AyjS8lfq0hitwWg09CDHlYif9cCFGOpO1K19vn2j wzEmX9iPADSqjPGZJLJuZofu5xlw/unrBRyrNjxOCw/dP878hTZsFktEZbPAGLC5 dL8CvfO2oLA5EsGbzqUA3AGxKs1YkHE3RnFO21yw7REUNgsSZKeRw5m3z2j/c1dx KU8zNQQhXNbtR5d7DUcyx7z928+vX+3p5+Jhs4MorWYgZSHt8JzCkPCdLOH6GvM= =RsqI -----END PGP SIGNATURE----- --2PKBLlmBdtFgubijxVwQFGSjEudAPUxcO--