0

Suppose I have a process foo executing (natively) on my computer. After it has been executing for some time, I want to move this process into a virtual machine - for example, I create a VM using QEMU or Virtualbox. Is it possible to do this?

To my understanding, if it's possible, it's incredibly difficult - you'd need to clone the stack and the heap; you'd need to modify any virtual addresses in both locations; and you'd need to sample the CPU's current state to recreate it on the VM. Are these assumptions correct, or am I missing something?

I've found some evidence that this has been implemented for computing clusters in the form of openMosix/LinuxPMI, but nothing regarding physical-to-virtual machine.

4

1 回答 1

1

你的假设是正确的。现在可以通过virsh从客户机到客户机进行实时 KVM 迁移,因此正在取得进展。我确信最终会有从客户机到客户机的进程迁移,但我不太确定人们是否正在处理主机到客户机的进程迁移。听起来您对技术细节很感兴趣,因此 RedHat 阅读了有关VM 实时迁移的好书。

于 2015-07-20T20:23:46.390 回答