Provide hypervisor_cpuid_base for kernels < 3.12

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Use old mmu_shrink API on kernels < 3.12

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Lift version fence to 3.11

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Update to new signature of hardware_enable()

Requires some harmless bending of hardware_enable on the callback type
that smp_call_function_single expects for kernels < 2.6.28.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Add uapi/asm/msr-index.h to list of pulled-in headers

Required to obtain latest MSR definitions.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Adjust support target kernel versions to 3.7..3.13

We now stop supporting anything older than 3.7 to ease the maintenance.
Lift the version fence to 3.13, which is currently our source.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Update source link

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Provide smp_mb__after_srcu_read_unlock for kernels < 3.13

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Update source link

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
After KVM commit 8a3caa6d74597c2a083f7c87f866891a0b12540b, kvm-kmod
is broken in weird ways (for me it breaks every other time kvm is
loaded, but only with ept=0...).

The reason is that, after this commit, empty_zero_page is expected
to be page-aligned, but the kvm-kmod compatibility shim isn't.
empty_zero_page has been exported since v2.6.25:

commit 8232fd625217dc641ed05dd238a8bb5c82828082
Author: Theodore Ts'o <tytso@mit.edu>
Date:   Mon Nov 26 20:42:19 2007 +0100

    x86: export the symbol empty_zero_page on the 32-bit x86 architecture

    The latest KVM driver wants to use the empty_zero_page symbol, and it's
    not exported in 32-bit x86 (although it is exported by x86_64, s390, and
    uml architectures).

    Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
    Cc: tglx@linutronix.de
    Cc: linux-kernel@vger.kernel.com
    Cc: kvm-devel@lists.sourceforge.net
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>

so the compatibility shim should probably just be dropped.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Update source link

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Add kconfig.h for kernels that do not include it properly when needed

Resolves this build error with 3.13:

In file included from .../source/include/linux/device.h:29:0,
                 from .../source/include/linux/node.h:17,
                 from .../source/include/linux/cpu.h:16,
                 from .../kvm-kmod/x86/../external-module-compat-comm.h:15,
                 from .../kvm-kmod/x86/external-module-compat.h:45,
                 from <command-line>:1:
.../source/include/linux/gfp.h: In function ‘gfp_zonelist’:
.../source/include/linux/gfp.h:272:2: error: implicit declaration of function ‘IS_ENABLED’
.../source/include/linux/gfp.h:272:17: error: ‘CONFIG_NUMA’ undeclared (first use in this function)
.../source/include/linux/gfp.h:272:17: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
updated gitmodules to point to nitro-ng_kmod
updated readme
updated readme
updated readme
updated readme
updated gitignore
updated readme
sync updated to include nitro header