kvm supports an interface for reporting which cpuid features are supported. Use it for trimming the cpu feature set reported to the guest. This prevents, for example, reporting NX to a guest when in fact we do not support it. Avi Kivity (4): kvm: Add support for querying supported cpu features Make x86 cpuid feature names available in file scope Fix x86 feature modifications for features that set multiple bits kvm: Trim cpu features not supported by kvm kvm.h | 3 ++ target-i386/helper.c | 98 +++++++++++++++++++++++++++++++++---------------- target-i386/kvm.c | 80 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 149 insertions(+), 32 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html