Re: Installing kernel headers in kvm-kmod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Avi Kivity wrote:
On 12/10/2009 04:50 PM, Arnd Bergmann wrote:
On Thursday 10 December 2009, Jan Kiszka wrote:
Anthony Liguori wrote:
QEMU 0.12.0-rc1 does not support KVM
https://bugs.launchpad.net/bugs/494500

Boils down to the fact that 1) we don't include kernel headers in qemu
(whereas qemu-kvm does) and 2) kvm-kmod does not install those headers
on make install.

I think we've discussed (2) as being the preferred solution.  Does
everyone agree with that? Anyone care to volunteer to make the change? :-)

I've pushed a half-tested approach into kvm-kmod's next branch. Feel
free to test/fix/enhance it.
This would work, but installing to /usr/include/linux/kvm.h will confuse
distro package managers a lot, because that location belongs to the glibc
or libc-linux-headers or some other package already.

If you want to install the headers from kvm-kmod, I would recommend
doing it in a different path, e.g. /usr/include/kvm-kmod/{linux,asm}.

Maybe even /usr/local/include/kvm-kmod-$version/...., and a symlink /usr/local/include/kvm-kmod.

A pkg-config file would be nice. Then we need no symlink. Makes qemu interaction saner.

Regards,

Anthony Liguori
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux