<domain type='kvm'> <name>fedora</name> <uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid> <memory unit='KiB'>1048576</memory> <vcpu>2</vcpu> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk/> <interface/> <hostdev/> <graphics/> </devices> </domain>
vmx
) or AMD-V (svm
)CONFIG_KVM{_INTEL,_AMD}
<domain type='kvm'> <name>fedora</name> <uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid> ... </domain>
<domain type='kvm'> <name>fedora</name> <uuid>63840878-0deb-4095-97e6-fc444d9bc9fa</uuid> <devices> <disk type='file' device='disk'> <target dev='vda' bus='virtio'/> </disk> <interface type='network'> <model type='virtio'/> </interface> <memballoon model='virtio'/> </devices> </domain>
<domain type='kvm'/>
<domain type='kvm'> <name>fedora</name> <vcpu placement='static'>4</vcpu> <numatune> <memory mode='strict' nodeset='0-3'/> <memnode cellid='0' mode='strict' nodeset='0'/> </numatune> <cputune> <vcpupin vcpu="0" cpuset="1-4,^2"/> <emulatorpin cpuset="1-3"/> <iothreadpin iothread="1" cpuset="5,6"/> </cputune> </domain>
<disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none' io='native'/> <source file='/path/to/my_disk.qcow2'/> <target dev='vda' bus='virtio'/> </disk>
<interface type='hostdev' managed='yes'> <mac address='52:54:00:6d:90:02'/> <source> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </source> </interface>
# virt-host-validate QEMU: Checking for hardware virtualization : PASS QEMU: Checking if device /dev/kvm exists : PASS ... QEMU: Checking for device assignment IOMMU support : PASS QEMU: Checking if IOMMU is enabled by kernel : PASS LXC: Checking for Linux >= 2.6.26 : PASS LXC: Checking for namespace ipc : PASS LXC: Checking for namespace mnt : PASS ...
mprivozn@redhat.com