×

Virtual machine memory migration by storage

  • US 10,241,814 B2
  • Filed: 01/29/2013
  • Issued: 03/26/2019
  • Est. Priority Date: 01/29/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving a request to migrate a virtual machine from a source host machine to a destination host machine;

    mapping, by a hypervisor executed by a processing device, memory of the virtual machine on the source host machine to a storage device, wherein the storage device is accessible by the source host machine and by the destination host machine;

    caching, in cache memory on the source host machine, at least a portion of the memory of the virtual machine;

    caching, in the cache memory on the source host machine, changes to the virtual machine on the source host machine that occur over a period of time after the mapping;

    determining whether the virtual machine is to access the mapped memory of the storage device or the cached memory;

    in response to determining that the virtual machine is to access the cached memory, directing, by the hypervisor, the virtual machine to the cache memory to cause memory accesses of the virtual machine to occur at the cache memory on the source host machine;

    in response to determining that the virtual machine is to access the mapped memory on the storage device, accessing the memory of the virtual machine from the storage device;

    issuing a synchronization command to synchronize the cache memory on the source host machine with the storage device;

    issuing a stop command to stop the virtual machine on the source host machine in response to the changes over the period of time being below a threshold; and

    transmitting a remaining portion of a state of the virtual machine from the source host machine to the destination host machine to complete the migration of the virtual machine.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×