Import kvm external module support from last kvm-userspace revision

Signed-off-by: Avi Kivity <avi@redhat.com>
Add Linux kernel tree as a submodule

Signed-off-by: Avi Kivity <avi@redhat.com>
Adjust sync source to new location of kernel tree

Signed-off-by: Avi Kivity <avi@redhat.com>
Adjust kernel source to an available tree

Signed-off-by: Avi Kivity <avi@redhat.com>
Create include/ directory if it does not already exist

Signed-off-by: Avi Kivity <avi@redhat.com>
Fix request_irq() for < 2.6.19

The irq handler changes (introduced in 2.6.19, not 2.6.20) dropped
struct pt_regs from the handler prototype, they are found globally now.
This introduces the back compat for older kernels.  The handler is just
a thin layer which calls the real registered handler (all this to work
around a minor little compiler warning ;-)  Needed for device assignment
on older kernels.

Signed-off-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Update source link
Add some x86 cpuid feature defines

Signed-off-by: Avi Kivity <avi@redhat.com>
Add rdmsrl_safe() compat code

Signed-off-by: Avi Kivity <avi@redhat.com>
Update source link

Signed-off-by: Avi Kivity <avi@redhat.com>
nr_cpu_ids compat

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
smp_send_reschedule compat

smp_send_reschedule was exported (via smp_ops) in v2.6.24.
Create a compat function which schedules the IPI to keventd context,
in case interrupts are disabled, for kernels < 2.6.24.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Update source link

Signed-off-by: Avi Kivity <avi@redhat.com>
Make vmx-debug.c to compile again

Add TPR value checking.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Support reading package version from a KVM_VERSION file

Signed-off-by: Avi Kivity <avi@redhat.com>
Move source sync code into new file sync.mak

This makes it possible to call it without running ./configure.

Signed-off-by: Avi Kivity <avi@redhat.com>
Add release script

Signed-off-by: Avi Kivity <avi@redhat.com>
Remove vmcs_readl() protection in broken gsbase context

Since we no longer modify vmcs_readl() to touch the PDA, we don't need
to hack it when it is called in contexts where gsbase is corrupted.

Signed-off-by: Avi Kivity <avi@redhat.com>
Convert sync.mak to Python

Signed-off-by: Avi Kivity <avi@redhat.com>
Adjust kvm_smp_send_reschedule availability

Also x86_64 before 2.6.26 requires kvm_smp_send_reschedule.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>