Reprinted please indicate the source, contribute their own power for open source, thank you: http://www.openext.org/2014/06/libvirt-erro2
To learn more about kvm, you have manually installed qemu-kvm but the following occurs when creating a VM:
Kvm: does not work properly. Using workaround
We initially think that kvm does not have insert, so:
# Modprobe kvm
# Modprobe kvm-intel
# Dmesg | tail
Kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround
The above information shows that it is indeed a problem with kvm, but this is not the case.
View libvirt log
# Vim/var/log/libvirt/lib1_d. log
04:20:45. 308 + 0000: 1345: error: virDomainDefParseXML: 12066: unknown OS type hvm
04:30:47. 441 + 0000: 1337: error: virqemucapsgetdefaversion version: 1748: internal error: Cannot find suitable emulator for i686
We found that libvirt did not find qemu when calling qemu.
So the solution is as follows:
Make a link under/usr/bin/
Ln-s/usr/local/qemu-kvm/bin/qemu-system-x86_64 qemu-system-x86_64
This solves the problem.