I checked ~/.libvirt* and ~/.config/libvirt*, non of them seem to contain config file of created VM, where is the config stored? I'm not running virt-manager as root user.
-
4Just FYI, Debian/sid(9), virt-manager version 1:1.0.1-5 change the config to "~/.config/dconf/user"– kiiwiiCommented May 15, 2015 at 7:05
Add a comment
|
3 Answers
Oddly enough, under /etc/libvirt. virt-manager doesn't run as root, but it communicates with libvirtd that does.
-
4correct, and now 2019 Red Hat Enterprise Linux 8 still use it in
ls -lah /etc/libvirt/qemu/– haidarvmCommented Aug 15, 2019 at 13:56 -
1For anyone who came here searching for where it stores the operating system images, it's in
/var/lib/libvirt/images/. You can find out the location in the options to clone the virtual machine. When you selectClone this diskand selectDetails.– NavCommented Aug 10, 2022 at 15:23 -
That's libvirt's config, not the virt-manager's itself as the question was asking. Virt-manager is just a client app that communicates with libvirt.– deltarayCommented Jan 5, 2023 at 16:13
Client information (eg connection strings) is stored in the dconf (accessible with dconf-editor) under /org/virt-manager/virt-manager/.
-
4
-
-
@reedstrm for that you should look where dconf stores its files: developer.gnome.org/dconf/unstable/dconf-overview.html– z3ntuCommented Nov 10, 2017 at 19:08
-
1This was exactly what I needed to know too. dbus wasn't running and hence configs were not being saved.– CoopsCommented Apr 13, 2020 at 2:04
-
1
virt-manager config is on
~/.gconf/apps/virt-manager/
-
this is where I found my stored connection settings for virt-manager– PeteCommented Nov 23, 2013 at 0:33
-
2