You are not logged in.
Pages: 1
Hey guys,
today i noticed a VM is missing. Beeing more specific, i use a Windows VM with the GPU passed through. Everything worked fine until today the VM just dissappeared.
[user@machine ~]$ sudo virsh list --all
Id Name State
-------------------------------------
1 Privacy running
- Saveweb shut off
- Shopping shut off
- SocialMedia shut off
[user@machine ~]$ ls -al /etc/libvirt/qemu
total 68
drwxr-xr-x 3 root root 4096 Nov 13 16:03 .
drwxr-xr-x 6 root root 4096 Nov 10 03:00 ..
drwxr-xr-x 3 root root 4096 Nov 10 03:00 networks
-rw------- 1 root root 4476 Oct 28 09:34 Privacy.xml
-rw------- 1 root root 4171 Oct 26 17:26 Saveweb.xml
-rw------- 1 root root 4148 Oct 25 18:41 Shopping.xml
-rw------- 1 root root 4183 Sep 30 18:58 SocialMedia.xml
-rw------- 1 root root 5129 Nov 13 16:03 Windows10.xml
As you may see, the Windows10 Machine is the only one missing. Its not getting displayed in virt-manager as well.
The last thing i did (besides turning on and off) was changing the XML file of the VM - but i rebooted the host afterwards and everything worked. I remember doing it directly with Vim, not with virsh-edit.
I hope someone can help. It would be a lot of work to set everything up again.
Best regards and thanks in advance,
Simulacrum
EDIT: If you need any further information, please let me know.
Last edited by Simulacrum (2019-11-15 19:29:29)
Offline
OK - i somewhat managed to fix it. I created a new VM and copied the config of the old XML file in the XML of the newly created.
I guess changeing the XML directly wasnt my brightest moment.
Case closed.
Offline
You can use `virsh define` to import the XML file next time, rather than creating a new VM and manually copying the config over.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Oh alright, i'll keep that in mind. Thanks man
Offline
Pages: 1