Test disk-only profiles on a linked clone

未关闭 适合新手
#106 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
77/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
electron, typescript
领域
testing

调研方向

阅读 wiki 中链接的克隆页面和 tests/integration/clones.test.ts。issue 描述了这一场景:获取并启动一个链接克隆的纯磁盘配置文件。添加一句话,说明该配置文件涵盖 overlay,并且依赖其只读基础保持不变;同时添加集成测试。测试通过且 wiki 描述了这一限制后,即可完成。

由索引模型根据 Issue 内容生成。

描述

documentation tests

Profiles of a powered-off VM (#96, #98) are made with qemu-img snapshot -c, and take() checks existsSync(cfg.diskPath) first. A linked clone's disk is a small overlay on a read-only base. Snapshotting the overlay works, but that profile only covers the overlay. If the base ever changes (it shouldn't, but #70 and #71 are about the base file's life cycle), launching the profile boots on a different base.

Not a bug today, the base is never written to. Worth a sentence in the wiki's Linked clones page, and a test in tests/integration/clones.test.ts that takes and launches a disk-only profile of a linked clone, so nothing changes this without noticing.

主要语言
TypeScript
星标
3
派生
0
平均合并
2 分钟
30 天内合并 PR
59

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

A21-devs/Virtual-Machine-Manager 的其他 Issue

查看 A21-devs/Virtual-Machine-Manager 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。