Live migration of a guest from a source hypervisor to a target hypervisor
AssigneeRed Hat Israel, Ltd.
InventorMichael Tsirkin
Life of this patent
Estimating the term…
Abstract
A method and system for sending early notification when a guest migrates in a virtual machine system. A guest hosted by a computer system is migrating from a source hypervisor to a target hypervisor. During the migration, the source hypervisor stops transmission of outbound packets from the guest. A signal is sent to the target hypervisor after stopping the transmission and before completing migration of the guest. The signal requests that a notification containing network addresses of the guest be sent to network devices associated with the target hypervisor.
Claims17
A method comprising:
- initiating, by a source hypervisor executed by a processing device, migration of a guest, wherein the migration comprises copying guest data from the source hypervisor to a target hypervisor;
- preventing by the source hypervisor, during the migration, subsequent changes to network addresses of the guest;
- transmitting to the target hypervisor, by the source hypervisor, a notification before all of the guest data has been copied to the target hypervisor, wherein the notification specifies a network address of the guest and is separate from the guest data copied to the target hypervisor;
- and
- transmitting to the target hypervisor, by the source hypervisor a signal requesting that the notification be sent to a network device associated with the target hypervisor;
- wherein the signal is transmitted after the notification via a management component in response to a status request from the target hypervisor.
A system comprising:
- a network interface device;
- and
- a processing device, coupled to the network interface device, to:
- execute a target hypervisor and a management component,
- receive at the target hypervisor an indication of a migration of a guest to the target hypervisor, wherein the migration comprises copying guest data from a source hypervisor to the target hypervisor,
- receive at the target hypervisor, from the source hypervisor, a notification that specifies a network address of the guest and that is separate from the guest data copied to the target hypervisor,
- receive at the target hypervisor, via the management component, a signal from the source hypervisor requesting that the notification be sent to a network device associated with the target hypervisor, wherein the signal is received after the notification and before all of the guest data has been copied to the target hypervisor, and wherein the signal is in response to a status request from the target hypervisor, and
- transmit by the target hypervisor, via the network interface device, the network address to the network device.
A non-transitory computer readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
- initiating, by a source hypervisor executed by the processing device, migration of a guest, wherein the migration comprises copying guest data from the source hypervisor to a target hypervisor;
- preventing by the source hypervisor, during the migration, subsequent changes to network addresses of the guest;
- and
- transmitting to the target hypervisor by the source hypervisor, a signal requesting that a notification be sent to a network device associated with the target hypervisor, wherein the signal is transmitted in response to a status request from the target hypervisor, and wherein the signal is transmitted via a management component before all of the guest data has been copied to the target hypervisor, and wherein the notification specifies a network address of the guest and is separate from the guest data copied to the target hypervisor.
Dependencies are inferred from the claim text.