Re: [PATCH] kvm-intel: Auto-load on CPUs with VMX.
From: Avi Kivity
Date: Wed Mar 21 2012 - 09:41:47 EST
On 03/21/2012 08:33 AM, Josh Triplett wrote:
> Enable x86 feature-based autoloading for the kvm-intel module on CPUs
> with X86_FEATURE_VMX.
>
> Signed-off-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>
> ---
>
> I've tested this and it works correctly. I can also supply the obvious
> equivalent patch for kvm-amd on AMD CPUs with SVM, but I don't have any
> such CPUs to test that on.
>
On the one hand this makes sense and is consistent with how other
modules are loaded. On the other hand this will waste memory for
non-virt users running on distro kernels (but distro kernels can
override this new behaviour anyway).
I'm inclined to apply, but will wait for more comments.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/