主权项 |
1. A computer-implemented method for migrating of at least one process from a source system with a source operating system to a target system with a target operating system, wherein the source and target system or the source and target operating system are different, the method comprising:
starting migration of the at least one process by using, at least in part, a target virtualization and migration component of the target system; allocating virtual address space in the target system for the at least one process being migrated; storing memory of virtual address space of the at least one process being migrated to the allocated virtual address space of the target system; copying storing information regarding operating system state associated with the at least one process to the target operating system; and executing the at least one process being migrated on the target operating system by means of an emulator adapted to emulate the source system, wherein the emulator starts executing source application code associated with the at least one process, and performs or initiates:
translating, at the target system, system calls and runtime library calls of the source operating system associated with the at least one process to system calls for the target operating system, by means of a system call translator, and runtime library calls for the target operating system, by means of a runtime library translator;translating, at the target system, the source application code associated with the at least one process being migrated into binary target application code executable on the target system by means of a compiler if the source application code has not yet been translated; andexecuting the translated binary target application code on the target system. |