How folks, KVM
host - Debian 5.0Accidentally I deleted a VM on the VirtualMachineManager.
VM.xml is still in /etc/libvirt/qemu/VM.xml
VM.qcow2 still in /VM/VM.qcow2Please advise how to add it back? TIA
B.R.
satimis
Import or otherwise create a new VM and edit to the correct files. I support the 'Everybody Draw Mohammed Day'. A religion doesn't deny my freedom.
Hi jefro, I can't create a new VM on the GUI Virtual Machine Manager like in Oracle VirtualBox. It always looks for ISO image. Finally I got it done with
$ sudo virsh define /path/to/VM.xml
Which file holds the relevant data? I wonder whether I can edit the file manually to do the job. ThanksB.R.
satimis
Part of the info is on the qemu sites. qcow2 is the virtual filesystem. Normally linux uses a script but look at the xml file. It may hold the vm settings such as ram and what files are used for the hard drives and cdroms. Pretty sure they make gui front ends that work pretty easily.
I support the 'Everybody Draw Mohammed Day'. A religion doesn't deny my freedom.
Hi jefro, The GUI which I found is Virtual Machine Manager. It can't restore the deleted guest from VM.xml nor from the image.
satimis
You don't restore you just make a new one and then edit to the old file names. I support the 'Everybody Draw Mohammed Day'. A religion doesn't deny my freedom.