From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH 0/4] Fix kvm cpuid reporting Date: Sun, 3 May 2009 17:04:00 +0300 Message-ID: <1241359444-8538-1-git-send-email-avi@redhat.com> Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Anthony Liguori Return-path: Received: from mx2.redhat.com ([66.187.237.31]:37325 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751717AbZECOEN (ORCPT ); Sun, 3 May 2009 10:04:13 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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(-)