46

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.

daisy
  • 53,527
  • 78
  • 236
  • 383
  • 3
    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 07:05

3 Answers3

42

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

Ignacio Vazquez-Abrams
  • 44,857
  • 7
  • 93
  • 100
  • 3
    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
  • For 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 select `Clone this disk` and select `Details`. – Nav Aug 10 '22 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. – deltaray Jan 05 '23 at 16:13
15

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

z3ntu
  • 153
  • 1
  • 6
5

virt-manager config is on

~/.gconf/apps/virt-manager/
Lluís
  • 805
  • 1
  • 8
  • 13