qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] target-i386: Don't trigger "check" warnings by default in KVM mode
@ 2015-10-30 19:00 Eduardo Habkost
  2015-10-30 19:00 ` [Qemu-devel] [PATCH 1/3] target-i386: Add optional class name to kvm_default_props Eduardo Habkost
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Eduardo Habkost @ 2015-10-30 19:00 UTC (permalink / raw)
  To: qemu-devel
  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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-11-03 19:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-30 19:00 [Qemu-devel] [PATCH 0/3] target-i386: Don't trigger "check" warnings by default in KVM mode Eduardo Habkost
2015-10-30 19:00 ` [Qemu-devel] [PATCH 1/3] target-i386: Add optional class name to kvm_default_props Eduardo Habkost
2015-10-30 19:00 ` [Qemu-devel] [PATCH 2/3] pc: Create pc_compat_2_4() function Eduardo Habkost
2015-10-30 19:01 ` [Qemu-devel] [PATCH 3/3] target-i386: Don't enable SSE4A by default with KVM Eduardo Habkost
2015-10-30 19:13 ` [Qemu-devel] [PATCH 0/3] target-i386: Don't trigger "check" warnings by default in KVM mode Eduardo Habkost
2015-11-02 11:37   ` Paolo Bonzini
2015-11-03 16:41     ` Eduardo Habkost
2015-11-03 17:21       ` Paolo Bonzini
2015-11-03 17:54         ` Eduardo Habkost
2015-11-03 17:41     ` Eduardo Habkost
2015-11-03 17:49       ` Paolo Bonzini
2015-11-03 17:56         ` Eduardo Habkost
2015-11-03 19:53           ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).