# US 2021/0173685 A1 · Multicast live migration for encrypted virtual machines

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0173685 A1
- Document ID: US20210173685A1
- Status: Published application
- Kind: A1
- Application number: 16/705,929
- Filed: 2019-12-06
- Published: 2021-06-10
- Earliest claimed: 2019-12-06
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Michael Tsirkin; Andrea Arcangeli
- Web page: https://patentgrep.com/patent/US20210173685A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/0819: {Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) (network architectures or network communication protocols for key distribution in a packet data network H04L63/062)}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2221/2107: File encryption
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method includes receiving a request to migrate a virtual machine executing on a source host computer system to a first destination host computer system. The method further includes receiving, from the virtual machine executing on the source host computer system, an encryption key specific to the virtual machine. One or more memory pages associated with the virtual machine are encrypted using the encryption key specific to the virtual machine. The method further includes causing the one or more memory pages associated with the virtual machine to be copied to the first destination host computer system.

## Claims

### Claim 1

A method comprising:
receiving, by a processing device of a source host computing system, a request to migrate a virtual machine (VM) running on the source host computer system to a first destination host computer system;
receiving, by the processing device, from the VM, an encryption key associated with the VM;
encrypting, using the encryption key, one or more memory pages associated with the VM; and
causing the one or more memory pages to be copied to the first destination host computer system.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving a request to migrate the VM from the source host computer system to a second destination host computer system; and
causing the one or more memory pages to be copied to the second destination host computer system while the one or more memory pages are copied to the first destination host computer system.

### Claim 3 (depends on 1)

The method of claim 1, wherein the encryption key is isolated from a hypervisor managing the VM on the source host computer system.

### Claim 4 (depends on 1)

The method of claim 1, wherein the encryption key is derived from a feature that is specific to the VM.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
decrypting, using an encryption key associated with the source host computer system, the one or more memory pages before encrypting the one or more memory pages using the encryption key associated with the VM, wherein the encryption key associated with the source host computer system is derived from an address of a memory page of the one or more memory pages.

### Claim 6 (depends on 4)

The method of claim 4, wherein the encryption key associated with the source host computer system is derived from a memory address of the source host computer system associated with the one or more memory pages of the VM.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving a request to initialize the VM on the destination host computer system; and
injecting, into the VM on the destination host computer system, the encryption key associated with the VM.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
generating a snapshot of the VM running on the source host computer system, by storing, in a non-volatile storage, the one or more memory pages associated with the VM that are encrypted using the encryption key associated with the VM.

### Claim 9

A system comprising:
a memory component; and
a processing device of a destination host computer system, the processing device to:
receive an encryption key associated with a virtual machine (VM) that is being migrated from a source host computer system to the destination host computer system;
receive, from the source host computer system, one or more memory pages associated with a virtual machine (VM);
decrypt, using the encryption key, the one or more memory pages associated with the VM;
store the one or more memory pages at the memory component; and
execute the VM on the destination host computer system.

### Claim 10 (depends on 9)

The system of claim 9, wherein the encryption key is isolated from a hypervisor managing the VM on the destination host computer system.

### Claim 11 (depends on 9)

The system of claim 9, wherein the encryption key is derived from a feature that is specific to the VM.

### Claim 12 (depends on 9)

The system of claim 9, wherein the processing device is further to:
responsive to decrypting the one or more memory pages using the encryption key associated with the VM, encrypt, using an encryption key associated with the destination host computer system, the one or more memory pages associated with the VM.

### Claim 13 (depends on 12)

The system of claim 12, wherein the encryption key associated with the destination host computer system is derived from a memory address of the destination host computer system associated with the one or more memory pages of the VM.

### Claim 14 (depends on 13)

The system of claim 13, wherein the encryption key associated with the destination host computer system is a hardware-generated token.

### Claim 15 (depends on 9)

The system of claim 9, wherein the processing device is further to:
receive, from the source host computer system, a snapshot of the VM executing on the source host computer system, wherein the snapshot comprises one or more memory pages associated with the VM that are encrypted using the encryption key;
decrypt the one or more memory pages using the encryption key; and
initialize the VM to execute on the destination host computer system.

### Claim 16

A non-transitory computer readable storage medium including instructions that, when executed by a processing device, cause the processing device to perform a method comprising:
receiving a request to migrate a virtual machine (VM) running on a source host computer system to a first destination host computer system;
receiving, from the VM, an encryption key associated with the VM;
encrypting, using the encryption key, one or more memory pages associated with the VM; and
causing the one or more memory pages to be copied to the first destination host computer system.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the processing device is further to perform:
receiving a request to migrate the VM from the source host computer system to a second destination host computer system; and
causing the one or more memory pages to be copied to the second destination host computer system while the one or more memory pages are copied to the first destination host computer system.

### Claim 18 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the encryption key is isolated from a hypervisor managing the VM on the source host computer system.

### Claim 19 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the encryption key is derived from a feature that is specific to the VM.

### Claim 20 (depends on 16)

The non-transitory computer readable storage medium of claim 16, further comprising:
generating a snapshot of the VM executing on the source host computer system, by storing, in a non-volatile storage, the one or more memory pages associated with the VM that are encrypted using the encryption key associated with the VM.
