Linked clones break if the VMs folder is moved
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 70/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- electron, typescript
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 3
- Forks
- 0
- Merge médio
- 2min
- PRs com merge (30d)
- 41
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de A21-devs/Virtual-Machine-Manager
-
ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
A21-devs/Virtual-Machine-Manager#92 ·
Mantenedores costumam responder em até 1 dia
-
ci tests
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
A21-devs/Virtual-Machine-Manager#91 ·
Mantenedores costumam responder em até 1 dia
-
accessibility ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
A21-devs/Virtual-Machine-Manager#83 ·
Mantenedores costumam responder em até 1 dia
-
ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
A21-devs/Virtual-Machine-Manager#82 ·
Mantenedores costumam responder em até 1 dia
-
backend enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
A21-devs/Virtual-Machine-Manager#80 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de A21-devs/Virtual-Machine-Manager
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Bug Nethernet Tests
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
JSPrismarine/JSPrismarine#3949 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 95/100
Mantenedores costumam responder em até 4 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
withkarann/aifoxx#504 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 2 dias