Linked clones break if the VMs folder is moved
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- electron, typescript
Research direction
Find the code that creates linked clone overlays with qemu-img create -b and check how it handles existing overlays. Start by locating the QEMU disk creation entry point and any related tests; the issue does not name specific files. Update overlay creation to use a relative backing path, and ensure existing overlays can be handled with the described qemu-img rebase -u approach. Done when linked clones still open after the VMs folder is moved.
Written by the indexing model from the issue text.
Description
qemu-img create -b <base> stores the backing file as the full path we pass in, for example C:\Users\me\VMs\disks\Kali.base-m3x1.qcow2. If the VMs folder is moved (copied to another drive, restored from a backup into a different user folder, or changed with the data folder setting from #14), every linked clone's overlay still points at the old path and QEMU fails to open the disk.
Fix: create overlays with a backing path relative to the overlay (-b Kali.base-m3x1.qcow2 with the overlay in the same folder, qemu-img resolves it relative to the overlay's directory). Existing overlays can be rewritten in place with qemu-img rebase -u -b <relative name>, which only changes the header.
Related to #65 and #14.
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 0
- Avg merge
- 2m
- Merged PRs (30d)
- 59
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from A21-devs/Virtual-Machine-Manager
-
enhancement ui
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
A21-devs/Virtual-Machine-Manager#128 ·
Maintainers usually reply within 1 day
-
bug ui
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
A21-devs/Virtual-Machine-Manager#127 ·
Maintainers usually reply within 1 day
-
ui
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
A21-devs/Virtual-Machine-Manager#126 ·
Maintainers usually reply within 1 day
-
documentation tests
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
A21-devs/Virtual-Machine-Manager#106 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
A21-devs/Virtual-Machine-Manager#105 ·
Maintainers usually reply within 1 day
All issues in A21-devs/Virtual-Machine-Manager
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
platform:windows provider:antigravity-cli providers setup triaged wontfix
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
can1357/oh-my-pi#21349 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ohcnetwork/care_fe#17474 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100