Patent attributes
A method, an apparatus, and a system for migrating cache are described. A system for migrating cache may include a first host having a first cache and associated with a VM. The system may also include a second host having a second cache. Furthermore, in the system, the first host is adapted to send cache data of the first cache to the second host in response to a notification, said cache data associated with the VM and said notification indicating that the VM is to be migrated from the first host to the second host. Furthermore, the first host is adapted to send write operations associated with the VM to the second host in response to receiving the notification. In the system, the second host is adapted to apply, in response to receiving the notification, read operations associated with cache data of the VM to the first cache if said cache data is not present in the second cache, and to apply write operations associated with cache data of the VM to the second cache.