Crmgo Blog

KVM Configuration Files

KVM Configuration Files

The configuration of virtual machines is stored in XML files in the /etc/libvirt/qemu/ directory. To display the configuration of a VM named freebsd, enter: or After creating virtual machines using virt-manager or virt-install, XML files describing the virtual machine configuration will be created in the /etc/libvirt/qemu/ directory. To edit…

KVM Configuration Files

Virtual machine configurations are stored in XML files in the /etc/libvirt/qemu/ directory. To display the configuration of a VM named freebsd, enter:

less /etc/libvirt/qemu/freebsd.xml

or

virsh dumpxml freebsd

After creating virtual machines using virt-manager or virt-install, XML files describing the virtual machine configuration will be created in the /etc/libvirt/qemu/ directory. To edit these files, use a text editor or the virsh edit command:

virsh edit freebsd
virsh edit centos

 

Note: This post may be AI-assisted and then human-edited. Editorial responsibility: Dmytro Lomaka, Kaltenkirchen.

Categories: KVM