Received: from eggs.gnu.org ([2001:4830:134:3::10]:53862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaTws-0004Ce-2A for qemu-devel@nongnu.org; Fri, 11 Sep 2015 15:25:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaTwn-000673-5A for qemu-devel@nongnu.org; Fri, 11 Sep 2015 15:25:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaTwm-00066h-W5 for qemu-devel@nongnu.org; Fri, 11 Sep 2015 15:25:21 -0400 From: Eduardo Habkost Date: Fri, 11 Sep 2015 16:25:05 -0300 Message-Id: <1441999509-26881-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] target-i386: Don't try to enable unsupported TCG features by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , Richard Henderson , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Paolo Bonzini This series makes QEMU stop trying to enable an unsupported feature by default in TCG mode, avoiding the warnings shown by the (now enabled by default) "check" mode. To do that, I cchanged the kvm_default_features code to be based on QOM properties, and added a new "type" field to allow per-CPU-model KVM defaults to be specified. Before this series: $ qemu-system-x86_64 -S warning: TCG doesn't support requested feature: CPUID.01H:EDX.de [bit 2] warning: TCG doesn't support requested feature: CPUID.80000001H:EDX [bit 2] After this series: $ ./x86_64-softmmu/qemu-system-x86_64 -S [no warning output] Eduardo Habkost (4): target-i386: Expand PPRO_FEATURES on qemu64/qemu32 definitions target-i386: Convert kvm_default_*features to property/value pairs target-i386: Add optional class name to kvm_default_props target-i386: Disable DE on qemu64 & qemu32 on TCG hw/i386/pc_piix.c | 8 ++--- hw/i386/pc_q35.c | 4 +-- target-i386/cpu.c | 104 ++++++++++++++++++++++++++++++++++-------------------- target-i386/cpu.h | 12 +++++-- 4 files changed, 81 insertions(+), 47 deletions(-) -- 2.1.0