Received: from eggs.gnu.org ([2001:4830:134:3::10]:51799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPdUA-00031L-FO for qemu-devel@nongnu.org; Mon, 17 Mar 2014 15:46:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPdU4-0005Xw-G7 for qemu-devel@nongnu.org; Mon, 17 Mar 2014 15:46:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPdU4-0005Xr-83 for qemu-devel@nongnu.org; Mon, 17 Mar 2014 15:46:04 -0400 From: Eduardo Habkost Date: Mon, 17 Mar 2014 16:44:57 -0300 Message-Id: <1395085507-5544-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH qom-cpu v2 00/10] target-i386: Support check/enforce flags in TCG mode, too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= Cc: Igor Mammedov , Paolo Bonzini , Aurelien Jarno , Richard Henderson This removes some duplication in the CPU feature checking and filtering code in cpu.c, and as a nice side-effect, will make the "check" and "enforce" flags work in TCG mode too. Changes v1 -> v2: * Rebase to latest qom-cpu (commit 90c5d39c) Eduardo Habkost (10): target-i386: Simplify reporting of unavailable features target-i386: Merge feature filtering/checking functions target-i386: Pass FeatureWord argument to report_unavailable_features() target-i386: Isolate KVM-specific code on CPU feature filtering logic target-i386: Make TCG feature filtering more readable target-i386: Filter FEAT_7_0_EBX TCG features too target-i386: Filter KVM and 0xC0000001 features on TCG target-i386: Define TCG_*_FEATURES earlier on cpu.c target-i386: Loop-based feature word filtering in TCG mode target-i386: Support check/enforce flags in TCG mode, too target-i386/cpu.c | 216 +++++++++++++++++++++++++++--------------------------- 1 file changed, 108 insertions(+), 108 deletions(-) -- 1.8.5.3