×

Post-copy migration of a group of virtual machines that share memory

  • US 10,552,230 B2
  • Filed: 05/23/2016
  • Issued: 02/04/2020
  • Est. Priority Date: 11/18/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • determining, by a processing device executing a hypervisor on a source host, that a group of virtual machines undergoing live migration from the source host to a destination host share a memory space on the source host, wherein at least one shared memory page in the shared memory space is migrated simultaneously with the virtual machines undergoing live migration;

    receiving, by the processing device executing the hypervisor on the source host, from a virtual machine of the group of virtual machines, a request to access a first shared memory page of the shared memory space on the source host;

    determining that the first shared memory page of the shared memory space on the source host has been migrated by determining that a valid bit of a page table entry corresponding to the first memory page in a memory page table of a host operating system on the source host indicates that the first memory page has been designated as not present on the source host; and

    responsive to determining that the first shared memory page of the shared memory space on the source host has been migrated to the destination host;

    stopping, by the hypervisor of the source host, execution of the virtual machine on the source host, andmigrating, by the hypervisor of the source host, the virtual machine to the destination host, wherein a hypervisor of the destination host is configured to receive a request to access the first shared memory page from the virtual machine on the destination host and to grant access to the first shared memory page.

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