Fix Error: libpci check failed. Disable KVM Device Assignment capability [Solved]

Question:

I was stuck with an error “Error: libpci check failed.  Disable KVM Device Assignment capability” while compiling qemu-kvm package on Ubuntu machine. Below is the complete error message.

[qemu-kvm] $ ./configure
 Error: libpci header check failed
 Disable KVM Device Assignment capability.

How to solve this error.

Solution:

The error says that the pci library is missing. So you need to install pciutils-devel or libpci-dev package as shown below:

libpci check failed

$ sudo apt-get install libpci-dev
 :::::::::::::::::::::::::::::::::::
 Setting up libudev-dev:amd64 (229-4ubuntu7) ...
 Setting up libpci-dev (1:3.3.1-1.1ubuntu1) ...
 Processing triggers for initramfs-tools (0.122ubuntu8) ...
 update-initramfs: Generating /boot/initrd.img-4.4.0-36-generic
 W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

That’s it! It should work now.

Topics :

vps germany

Get Free Email Updates

Disclaimer: The content published in this article is the views of the author only. Techglimpse does not gurantee accuracy, completness or validity. If you believe the content on this post violates your copyright, please send us a mail for removal. Read more.