KVM: does not work properly. Using workaround

Source: Internet
Author: User

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.

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.