I am using a Ryzen 3 2200G on a Gigabyte B450 Gaming X. The BIOS is updated and in the settings SVM, AMD-V and IOMMU are enabled.

kvm-ok says KVM is enabled. Output of lsmod | grep kvm:

kvm_amd               106496  0
ccp                    98304  1 kvm_amd
kvm                   729088  1 kvm_amd
irqbypass              16384  1 kvm

Output of egrep '(vmx|svm)' /proc/cpuinfo:

flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme ssbd sev ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca

But I get the following output:

$ sudo virt-install --virt-type kvm --name gameVM --memory 4096 --vcpus=2 --cdrom /var/lib/libvirt/boot/ubuntu-18.04.3-desktop-amd64.iso --disk size=40 --graphics vnc,listen=,port=5900 --noautoconsole

Host does not support domain type kvm for virtualization type 'hvm'

When using virt-manager I get KVM is not available. This may mean the KVM package is not installed, or the KVM kernel modules are not loaded.

Anybody has an idea how to resolve this issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.