Received: from eggs.gnu.org ([2001:4830:134:3::10]:39998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5byw-0000jy-JG for qemu-devel@nongnu.org; Tue, 21 Jan 2014 09:07:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5byq-0004aP-88 for qemu-devel@nongnu.org; Tue, 21 Jan 2014 09:07:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5byq-0004aK-0Y for qemu-devel@nongnu.org; Tue, 21 Jan 2014 09:07:04 -0500 Date: Tue, 21 Jan 2014 12:06:55 -0200 From: Eduardo Habkost Message-ID: <20140121140655.GD2221@otherpad.lan.raisama.net> References: <1390228618-21663-1-git-send-email-ehabkost@redhat.com> <52DD9F77.4040904@suse.de> <52DE45E3.5010208@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <52DE45E3.5010208@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] target-i386: enable x2apic by default on more recent CPU models List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "Michael S. Tsirkin" , qemu-devel@nongnu.org, Bandan Das , Anthony Liguori , Igor Mammedov , Andreas =?iso-8859-1?Q?F=E4rber?= On Tue, Jan 21, 2014 at 11:03:15AM +0100, Paolo Bonzini wrote: > Il 20/01/2014 23:13, Andreas F=E4rber ha scritto: > > I don't like the argument that we can put arbitrary stuff in our mode= l > > definitions and rely on TCG not having implemented it to make it > > correct. Is x2apic something that TCG can never implement for some > > reason? Then that needs a better explanation. Otherwise, is there no > > criteria we can add this flag for when kvm_enabled()? >=20 > We already do that for other bits (e.g. XSAVE/OSXSAVE), and in fact it > is the same that we do for KVM: the KVM_GET_SUPPORTED_CPUID result is > used to trim the generic feature bits. The only difference is that the "check" and "enforce" flags won't work in TCG mode. But I plan to change this soon. --=20 Eduardo