Installing kernel headers in kvm-kmod

2009-12-10 Thread Anthony Liguori
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

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Avi Kivity
On 12/10/2009 03:07 PM, 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

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Jan Kiszka
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

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Avi Kivity
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

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Jan Kiszka
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

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Arnd Bergmann
On Thursday 10 December 2009, Avi Kivity wrote: Maybe even /usr/local/include/kvm-kmod-$version/, and a symlink /usr/local/include/kvm-kmod. Depends on how fine-grained you want to do the packaging. Most distributions split packages between code and development packages. The kvm-kmod code

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Jan Kiszka
Arnd Bergmann wrote: On Thursday 10 December 2009, Avi Kivity wrote: Maybe even /usr/local/include/kvm-kmod-$version/, and a symlink /usr/local/include/kvm-kmod. Depends on how fine-grained you want to do the packaging. Most distributions split packages between code and development

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Avi Kivity
On 12/10/2009 06:42 PM, Jan Kiszka wrote: I've just (forced-)pushed the simple version with /usr/include/kvm-kmod as destination. The user headers are now stored under usr/include in the kvm-kmod sources and installed from there. It's customary to install to /usr/local, not to /usr (qemu

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Jan Kiszka
Avi Kivity wrote: On 12/10/2009 06:42 PM, Jan Kiszka wrote: I've just (forced-)pushed the simple version with /usr/include/kvm-kmod as destination. The user headers are now stored under usr/include in the kvm-kmod sources and installed from there. It's customary to install to

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Arnd Bergmann
On Thursday 10 December 2009 17:14:40 Jan Kiszka wrote: Avi Kivity wrote: On 12/10/2009 06:42 PM, Jan Kiszka wrote: I've just (forced-)pushed the simple version with /usr/include/kvm-kmod as destination. The user headers are now stored under usr/include in the kvm-kmod sources and

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Avi Kivity
On 12/10/2009 10:26 PM, Arnd Bergmann wrote: On Thursday 10 December 2009 17:14:40 Jan Kiszka wrote: Avi Kivity wrote: On 12/10/2009 06:42 PM, Jan Kiszka wrote: I've just (forced-)pushed the simple version with /usr/include/kvm-kmod as destination. The user headers are now

Re: Installing kernel headers in kvm-kmod

2009-12-10 Thread Anthony Liguori
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