36

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.

1
  • 2
    Just FYI, Debian/sid(9), virt-manager version 1:1.0.1-5 change the config to "~/.config/dconf/user"
    – kiiwii
    May 15 '15 at 7:05
35

Oddly enough, under /etc/libvirt. virt-manager doesn't run as root, but it communicates with libvirtd that does.

1
  • 1
    correct, and now 2019 Red Hat Enterprise Linux 8 still use it in ls -lah /etc/libvirt/qemu/
    – haidarvm
    Aug 15 '19 at 13:56
12

Client information (eg connection strings) is stored in the dconf (accessible with dconf-editor) under /org/virt-manager/virt-manager/.

6
  • 3
    exactly what I was looking for
    – nelaaro
    Feb 10 '17 at 6:44
  • me too, though it's not an answer to this question
    – reedstrm
    Nov 10 '17 at 15:03
  • @reedstrm for that you should look where dconf stores its files: developer.gnome.org/dconf/unstable/dconf-overview.html
    – z3ntu
    Nov 10 '17 at 19:08
  • 1
    This was exactly what I needed to know too. dbus wasn't running and hence configs were not being saved.
    – Coops
    Apr 13 '20 at 2:04
  • 1
    Now they are gone again...
    – bomben
    Jul 8 '20 at 9:11
5

virt-manager config is on

~/.gconf/apps/virt-manager/
1
  • this is where I found my stored connection settings for virt-manager
    – Pete
    Nov 23 '13 at 0:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.