Virtual machine migration via a mobile device
Abstract
Embodiments relate to virtual machine (VM) migration via a mobile device. A method includes requesting, by a mobile device, a source computer to capture a state and memory contents of a VM executing on the source computer. The VM includes the state, the memory contents, and data. The state and memory contents of the VM are stored on the mobile device. Security information about a target computer is determined by the mobile device. A migration of the VM to the target computer is initiated by the mobile device. The initiating includes sending the stored state and memory contents of the VM from the mobile device to the target computer. An activation of the VM on the target computer is initiated and access is provided to at least a subset of the data of the VM. The subset is selected based on the security information.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A system for migrating a virtual machine (VM), the system comprising:
a memory having computer readable instructions; and a processor for executing the computer readable instructions, the computer readable instructions including:
requesting, by a mobile device, a source computer to capture a state and memory contents of a VM executing on the source computer, the VM including the state, the memory contents, and data;
storing the state and the memory contents of the VM on the mobile device;
determining, by the mobile device, security information about a target computer, the determining including:
communicating, by the mobile device, to the target computer a list of web service trusted clients used by the VM, wherein the target computer is configured to attempt to access at least one web service of the list of web service trusted clients, wherein the at least one web service is configured to generate a code to be displayed on a user interface of the target computer upon the attempt by the target computer to access the at least one web service being successful; and
capturing, by the mobile device, one or more images of the user interface of the target computer by taking pictures, by the mobile device, of the user interface of the target computer;
initiating a migration of the VM to the target computer based on detecting, by the mobile device, that at least one of the captured images of the user interface of the target computer includes the code that was generated by the at least one web service from the list of web service trusted clients, the initiating including sending the stored state and memory contents of the VM from the mobile device to the target computer;
initiating an activation of the VM on the target computer; and
providing the target computer access to at least a subset of the data of the VM, the subset selected based on the security information.
2 . The system of claim 1 , wherein the data of the VM is stored on the mobile device.
3 . The system of claim 1 , wherein the data of the VM is stored on a storage device separate from the mobile device.
4 . The system of claim 1 , wherein the computer readable instructions further comprise:
storing security metadata for the VM executing on the source computer on the mobile device, wherein the determining security information about a target computer is based on the security metadata.
5 . The system of claim 1 , wherein the determining security information about a target computer is based on at least one of an image and a fingerprint.
6 . The system of claim 1 , wherein the mobile device is a mobile telephone.
7 . The system of claim 1 , wherein the code displayed by the target computer on the user interface is a quick response (QR) code.
8 . The system of claim 1 , wherein the code displayed by the target computer on the user interface is a barcode.
9 . The system of claim 1 , wherein the image is generated by the target computer in response to the target computer attempting to access each web service in the list of web service trusted clients.
10 . A computer program product for migrating a virtual machine (VM), the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code executable by a processor for:
requesting, by a mobile device, a source computer to capture a state and memory contents of a VM executing on the source computer, the VM including the state, the memory contents, and data; storing the state and the memory contents of the VM on the mobile device; determining, by the mobile device, security information about a target computer, the determining including:
communicating, by the mobile device, to the target computer a list of web service trusted clients used by the VM, wherein the target computer is configured to attempt to access at least one web service of the list of web service trusted clients, wherein the at least one web service is configured to generate a code to be displayed on a user interface of the target computer upon the attempt by the target computer to access the at least one web service being successful; and
capturing, by the mobile device, one or more images of the user interface of the target computer by taking pictures, by the mobile device, of the user interface of the target computer;
initiating a migration of the VM to the target computer based on detecting, by the mobile device, that at least one of the captured images of the user interface of the target computer includes the code that was generated by the at least one web service from the list of web service trusted clients, the initiating including sending the stored state and memory contents of the VM from the mobile device to the target computer;
initiating an activation of the VM on the target computer; and
providing the target computer access to at least a subset of the data of the VM, the subset selected based on the security information.
11 . The computer program product of claim 10 , wherein the data of the VM is stored on the mobile device.
12 . The computer program product of claim 10 , wherein the data of the VM is stored on a storage device separate from the mobile device.
13 . The computer program product of claim 10 , wherein the program code is further executable by the processor for:
storing security metadata for the VM executing on the source computer on the mobile device, wherein the determining security information about a target computer is based on the security metadata.
14 . The computer program product of claim 10 , wherein the determining security information about a target computer is based on at least one of an image and a fingerprint.
15 . The computer program product of claim 10 , wherein the mobile device is a mobile telephone.
16 . The computer program product of claim 10 , wherein the code displayed by the target computer on the user interface is a quick response (QR) code.
17 . The computer program product of claim 10 , wherein the code displayed by the target computer on the user interface is a barcode.
18 . The computer program product of claim 10 , wherein the image is generated by the target computer in response to the target computer attempting to access each web service of the list of web service trusted clients.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.