QEMU从单个快照启动多VM,然后单独快照

发布于 2025-01-22 02:40:07 字数 244 浏览 3 评论 0原文

我想使用QEMU的快照功能来实现程序回溯。可以在程序运行的任何阶段创建快照,然后其他VM将从一个快照恢复,运行一段时间,然后再次生成快照。新生成的快照仍然可以通过多个VM恢复并探索不同的分支。

我知道增量快照或-snapshot可以帮助我从qcow2映像中创建多个VM实例,但是再次拍摄快照并允许多个VM简历可能很困难。有人可以给我一些建议。除了使用现有功能实现此功能外,可以接受QCOW2格式或修改QEMU源代码,但我需要方向。

I want to implement program backtracking using qemu's snapshot feature. A snapshot may be created at any stage of the program's run, and then other VMs will resume from one snapshot, running for a period of time and then generating the snapshot again. It is still possible for newly generated snapshots to be resumed by multiple VMs and explore different branches.

I know that incremental snapshots or -snapshot can help me create multiple VM instances from a qcow2 image, but taking snapshot again and allowing multiple vm resumes may be difficult.Can someone give me some advice. In addition to using the existing features to achieve this function, it is acceptable to extend the qcow2 format, or modify the qemu source code, but I need direction.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文