From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsEvM-0005NF-Cx for qemu-devel@nongnu.org; Fri, 30 Oct 2015 15:01:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZsEvH-0002GX-Bf for qemu-devel@nongnu.org; Fri, 30 Oct 2015 15:01:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZsEvH-0002GT-6A for qemu-devel@nongnu.org; Fri, 30 Oct 2015 15:01:11 -0400 From: Eduardo Habkost Date: Fri, 30 Oct 2015 17:00:57 -0200 Message-Id: <1446231660-24394-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] target-i386: Don't trigger "check" warnings by default in KVM mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Igor Mammedov , Richard Henderson , "Michael S. Tsirkin" The x86 change to make "check" mode be enabled by default made QEMU print a warning in the default case if running in an Intel host: $ qemu-system-x86_64 -machine pc,accel=kvm warning: host doesn't support requested feature: CPUID.80000001H:ECX.sse4a [bit 6] Fix this by not enabling sse4a in qemu64 when in KVM mode. The long term solution will probably involve creating separate "tcg64" and "kvm64" CPU models as defaults, so we can finally choose completely diffferent defaults in the KVM- and TCG-specific models without making the kvm_default_props list grow too mcuh. Eduardo Habkost (3): target-i386: Add optional class name to kvm_default_props pc: Create pc_compat_2_4() function target-i386: Don't enable SSE4A by default with KVM hw/i386/pc_piix.c | 22 +++++++++++----------- hw/i386/pc_q35.c | 18 +++++++++--------- target-i386/cpu.c | 34 ++++++++++++++++++++++------------ target-i386/cpu.h | 3 ++- 4 files changed, 44 insertions(+), 33 deletions(-) -- 2.1.0