|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] Live Migration with different block devices |
Date: | Tue, 24 Jun 2014 22:25:23 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Il 24/06/2014 21:55, Xiongzi Ge ha scritto:
Hi Paolo, I am trying to do migration with two different block devices in the source 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 other host, the data in this device are 'bbbbb'.
Again, what you are doing is invalid. The point of migration is to have the same thing running on the source and destination, including disk data.
If we do migration, I want the guest vm recognize this change.
This is not _what_ you want to do. This is _how_ you want to do it.(Example: you eat a big mac. _What_ you want to do is not being hungry. _How_ you want to do it is going at McDonald's and grabbing a sandwich. Similar to your migration example, there's probably a better way to achieve your objective).
So, why do you want data to change upon migration?
How does qemu deal with the cache data? Thanks.
It's not QEMU that's caching data, it's the guest. There's nothing that QEMU can do about it.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |