Offer to move VMs when the data folder changes

Open
#94 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
electron, react, typescript
Domain
desktop, devops

Research direction

Start with the settings-save flow and the existing data-folder configuration, then trace where VM, disk, ISO, and profile paths are stored and displayed. The move step must run before restart, refuse to proceed while VMs are running, show progress, and update linked-clone backing paths with qemu-img rebase -u; verify the resulting folder contains no split or duplicated VM state. No specific files or tests are named, so identify the relevant components and add focused tests for migration and clone-path rewriting.

Written by the indexing model from the issue text.

Description

enhancement ui

Settings (#85) can point the app at a new data folder, but existing files aren't moved. The wiki explains how to move the vms, disks, ISOs and profiles folders by hand, which is easy to get wrong:

  • linked clones point at their .base- disk by full path (#71), so moving disks by hand breaks them
  • a half-done copy leaves VMs in both places

An optional Move my VMs there step after saving, done before the restart, with progress, refusing while VMs run, and fixing up linked clone backing paths with qemu-img rebase -u.

Dominant language
TypeScript
Stars
3
Forks
0
Avg merge
2m
Merged PRs (30d)
59

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from A21-devs/Virtual-Machine-Manager

All issues in A21-devs/Virtual-Machine-Manager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.