From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMhsh-0002ZV-5h for qemu-devel@nongnu.org; Thu, 19 Sep 2013 13:19:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMhsb-0008WJ-63 for qemu-devel@nongnu.org; Thu, 19 Sep 2013 13:19:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMhsa-0008WB-US for qemu-devel@nongnu.org; Thu, 19 Sep 2013 13:19:01 -0400 Message-ID: <523B320E.4060107@redhat.com> Date: Thu, 19 Sep 2013 19:19:10 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20130918203902.GC10924@otherpad.lan.raisama.net> <523AE522.4080102@suse.de> <20130919165855.GO2840@otherpad.lan.raisama.net> In-Reply-To: <20130919165855.GO2840@otherpad.lan.raisama.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] Enabling x2apic on most (all?) x86 CPU models List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Igor Mammedov , Bandan Das , =?ISO-8859-1?Q?Andreas_F=E4rber?= , Gleb Natapov , qemu-devel@nongnu.org Il 19/09/2013 18:58, Eduardo Habkost ha scritto: >> > >> > I disagree, since this would also affect TCG. I would prefer to add >> > x2apic only to models that really have it and would be open to generally >> > enabling it for kvm_enabled() in instance_init/registration (so that >> > users can disable it via ,-x2apic or soon QMP). > This won't affect TCG because features not supported by TCG are removed > automatically, and "enforce" doesn't even work on TCG mode (yet). > > I believe we agreed that we don't want to make the semantics of CPU > model names change depending if KVM or TCG are enabled[1], so I am > trying to avoid making the default depend on kvm_enabled(). I agree. I don't think it would matter much if one day TCG starts supporting x2apic (it's probably only a few hours work) and old CPUs started showing x2apic. Paolo