[kvm-commits] [PATCH] KVM: Make the supported cpuid list a host property rather than a vm property

2008-02-11 Thread Avi Kivity
From: Avi Kivity <[EMAIL PROTECTED]> One of the use cases for the supported cpuid list is to create a "greatest common denominator" of cpu capabilities in a server farm. As such, it is useful to be able to get the list without creating a virtual machine first. Since the code does not depend on t

[kvm-commits] [PATCH] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6

2008-02-11 Thread Avi Kivity
From: Avi Kivity <[EMAIL PROTECTED]> - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___

[kvm-commits] [PATCH] kvm: libkvm: don't sign-extend userspace addresses

2008-02-11 Thread Avi Kivity
From: Avi Kivity <[EMAIL PROTECTED]> this breaks 32-bit host userspace on 64-bit host kernels. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c index 45f58d6..7329f86 100644 --- a/libkvm/libkvm.c +++ b/libkvm/libkvm.c @@ -541,7 +541,7 @@ int kvm_regist

[kvm-commits] [PATCH] kvm: external module: fix include directory priority issue

2008-02-11 Thread Avi Kivity
From: Andrea Arcangeli <[EMAIL PROTECTED]> Add a new include-compat/ directory for supplying headers which are missing on older Linux releases. The include order is now - kvm headers from 'make sync' - linux headers from $KERNELDIR - include-compat/ Signed-off-by: Andrea Arcangeli <[EMAIL PROTE

[kvm-commits] [PATCH] kvm: external module: fix preempt notifier emulation clash with hardware debug

2008-02-11 Thread Avi Kivity
From: Andrea Arcangeli <[EMAIL PROTECTED]> there's a small glitch in the preempt notifier external module emulation. The overloaded debug handler will not detect when a debug exception has been generated by ptrace and it'll crash the host by calling the preempt emulator like if this was a KVM pree

[kvm-commits] [PATCH] KVM: Fix kvm_arch_vcpu_ioctl_set_sregs so that set_cr0 works properly

2008-02-11 Thread Avi Kivity
From: Paul Knowles <[EMAIL PROTECTED]> Whilst working on getting a VM to initialize in to IA32e mode I found this issue. set_cr0 relies on comparing the old cr0 to the new one to work correctly. Move the assignment below so the compare can work. Signed-off-by: Paul Knowles <[EMAIL PROTECTED]> Si