Switch build system to accompanied kernel headers
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 8 Jun 2011 14:10:57 +0000 (16:10 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 20 Jun 2011 18:16:12 +0000 (15:16 -0300)
commit44d17fdafc564a31ccbaacaca8f00673a406ef61
treeba16a1cff9c265986e4700e91acaec7d6ee24c7e
parent8b5e671e66dc4bda46b0da78fd37215d30f1124b
Switch build system to accompanied kernel headers

This helps reducing our build-time checks for feature support in the
available Linux kernel headers. And it helps users that do not have
sufficiently recent headers installed on their build machine.

Consequently, the patch removes and build-time checks for kvm and vhost
in configure, the --kerneldir switch, and KVM_CFLAGS. Kernel headers are
supposed to be provided by QEMU only.

s390 needs some extra love as it carries redefinitions from kernel
headers.

CC: Alexander Graf <agraf@suse.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Makefile.target
configure
target-s390x/cpu.h
target-s390x/op_helper.c