where are the files ?

Cole Robinson crobinso at redhat.com
Mon Oct 10 14:02:44 UTC 2022


On 10/8/22 9:36 AM, Bob Power wrote:
> Hi,
> 
> I'm moving "stuff" to a new machine. (Rocky 8.4 to Alma 8.6)
> 
> I have been using virt-manager on the old machine.
> 
> I want to open virt-manager on the the new machine and see what I saw on
> the old machine - the connections and list of VMs under those connections.
> 
> I have copied everything under /etc/libvirt/qemu over but no joy.
> 
> The man pages (man virt-manager) do not list any files.
> 
> Can anyone give me a list of file paths used by virt-manager when it
> starts up to populate the GUI

virt-manager's connection list is stored in dconf. But it's probably not
worth trying to transfer that over, instead manually `File->Open
Connection` and recreate the list.

If once connected to local qemu:///system your VMs aren't showing up,
and you copied over /etc/libvirt/qemu files, you may need to restart
libvirtd or virtqemud (or reboot). The proper way to do this would have
been `sudo virsh dumpxml $VMNAME > $VMNAME.xml` on the source and then
`sudo virsh define $VMNAME.xml` on the dest.

- Cole



More information about the virt-tools-list mailing list