Configurations files directory:
root@kvm-host1:~# ls -lh /etc/libvirt/
total 92K
drwxr-xr-x 2 root root 4.0K Mar 12 19:11 hooks
-rw-r--r-- 1 root root 547 Mar 12 19:11 libvirt.conf
-rw-r--r-- 1 root root 16K Mar 12 19:11 libvirtd.conf
-rw-r--r-- 1 root root 1.9K Mar 12 19:11 libxl.conf
-rw-r--r-- 1 root root 2.2K Mar 12 19:11 libxl-lockd.conf
-rw-r--r-- 1 root root 1.2K Mar 12 19:11 lxc.conf
drwxr-xr-x 2 root root 4.0K Apr 27 19:23 nwfilter
drwxr-xr-x 3 root root 4.0K Apr 27 19:22 qemu
-rw------- 1 root root 25K Mar 12 19:11 qemu.conf
-rw-r--r-- 1 root root 2.2K Mar 12 19:11 qemu-lockd.conf
-rw-r--r-- 1 root root 2.5K Mar 12 19:11 qemu-sanlock.conf
-rw-r--r-- 1 root root 2.1K Mar 12 19:11 virtlockd.conf
-rw-r--r-- 1 root root 2.0K Mar 12 19:11 virtlogd.conf
-rw-r--r-- 1 root root 1.9K Mar 12 19:11 virt-login-shell.conf
libvirt configuration file:
root@kvm-host1:~# cat /etc/libvirt/libvirt.conf
#
# This can be used to setup URI aliases for frequently
# used connection URIs. Aliases may contain only the
# characters a-Z, 0-9, _, -.
#
# Following the '=' may be any valid libvirt connection
# URI, including arbitrary parameters
#uri_aliases = [
# "hail=qemu+ssh://root@hail.cloud.example.com/system",
# "sleet=qemu+ssh://root@sleet.cloud.example.com/system",
#]
#
# These can be used in cases when no URI is supplied by the application
# (@uri_default also prevents probing of the hypervisor driver).
#
#uri_default = "qemu:///system"
qemu configuration file:
root@kvm-host1:~# head -n5 /etc/libvirt/qemu
qemu/ qemu.conf qemu-lockd.conf qemu-sanlock.conf
root@kvm-host1:~# head -n5 /etc/libvirt/qemu.conf
# Master configuration file for the QEMU driver.
# All settings described here are optional - if omitted, sensible
# defaults are used.
# Use of TLS requires that x509 certificates be issued. The default is
VMs related files directory:
root@kvm-host1:~# ls -lh /var/lib/libvirt/
total 16K
drwx--x--x 2 root root 4.0K Mar 12 19:11 boot
drwx--x--x 2 root root 4.0K Mar 12 19:11 images
drwxr-x--- 7 libvirt-qemu libvirt-qemu 4.0K Apr 27 19:23 qemu
drwx------ 2 root root 4.0K Mar 12 19:11 sanlock
Networks XML files:
root@kvm-host1:~# cat /etc/libvirt/qemu/networks/default.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh net-edit default
or other application using the libvirt API.
-->
<network>
<name>default</name>
<uuid>ed591bbd-b708-479d-80cf-7675ec082d86</uuid>
<forward mode='nat'/>
<bridge name='virbr0' stp='on' delay='0'/>
<mac address='52:54:00:eb:57:95'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254'/>
</dhcp>
</ip>
</network>
No comments:
Post a Comment