[libvirt] Where are libvirt configuration files located ?

Daniel P. Berrange berrange at redhat.com
Mon Jan 5 11:08:46 UTC 2009


On Mon, Jan 05, 2009 at 11:11:22AM +0100, Fabien Dupont wrote:
> Hello.
> 
> As there's a /etc/libvirt/qemu/networks directory, where are located
> configuration files for pools, domains, storage volumes ? How can I
> autostart a pool, as I don't know where to store its XML Dump ?

Don't create config files directly - instead use the command

   virsh pool-define somepool.xml

And then

   virsh pool-autostart poolname

This will ensure the correct config files / symlinks in /etc/libvirt are
created.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list