From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [RFC 0/2] GET_EMULATED_CPUID support with "allow-emulation" option Date: Thu, 05 Jun 2014 18:45:16 +0200 Message-ID: <53909E9C.6080009@suse.de> References: <1401984741-26882-1-git-send-email-ehabkost@redhat.com> <539099B6.2090000@suse.de> <53909A41.1060800@redhat.com> <53909D79.1070609@suse.de> <53909E53.9050300@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Borislav Petkov , "Gabriel L. Somlo" , kvm@vger.kernel.org, "Michael S. Tsirkin" , Michael Mueller , Christian Borntraeger , "Jason J. Herne" , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= To: Paolo Bonzini , Eduardo Habkost , qemu-devel@nongnu.org Return-path: Received: from cantor2.suse.de ([195.135.220.15]:37035 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbaFEQpU (ORCPT ); Thu, 5 Jun 2014 12:45:20 -0400 In-Reply-To: <53909E53.9050300@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05.06.14 18:44, Paolo Bonzini wrote: > Il 05/06/2014 18:40, Alexander Graf ha scritto: >> >> >> kvm_set_cpuid(cpuid); >> >> but enabling all experimental features inside KVM just because we want >> one or two of them is very counter-intuitive. Imagine we'd introduce >> emulation support for AVX. Suddenly allow-emulation (which I'd need for >> Mac OS X 10.5) would enable AVX as well which I really don't want >> enabled. > > Only if you were using "-cpu somethingThatHasAVX", though, no? Yes. The same argument goes the other way around. I want to use AVX emulation, do "allow-emulation" and suddenly I get MONITOR/MWAIT emulation. Alex