Received: from eggs.gnu.org ([2001:4830:134:3::10]:47284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyJh6-00089t-PR for qemu-devel@nongnu.org; Mon, 16 Nov 2015 08:19:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyJh3-00061b-L4 for qemu-devel@nongnu.org; Mon, 16 Nov 2015 08:19:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyJh3-00060Y-GD for qemu-devel@nongnu.org; Mon, 16 Nov 2015 08:19:37 -0500 Date: Mon, 16 Nov 2015 11:19:32 -0200 From: Eduardo Habkost Message-ID: <20151116131932.GU4180@thinpad.lan.raisama.net> References: <1447441633-32526-1-git-send-email-ehabkost@redhat.com> <5649A59B.1090209@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <5649A59B.1090209@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [QEMU PATCH] target-i386: Disable rdtscp on Opteron_G* CPU models List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: libvir-list@redhat.com, qemu-devel@nongnu.org, Richard Henderson On Mon, Nov 16, 2015 at 10:44:59AM +0100, Paolo Bonzini wrote: >=20 >=20 > On 13/11/2015 20:07, Eduardo Habkost wrote: > > KVM can't virtualize rdtscp on AMD CPUs yet, so there's no point > > in enabling it by default on AMD CPU models, as all we are > > getting are confused users because of the "host doesn't support > > requested feature" warnings. > >=20 > > Disable rdtscp on Opteron_G* models, but keep compatibility on > > pc-*-2.4 and older (just in case there are people are doing funny > > stuff using AMD CPU models on Intel hosts). > >=20 > > Signed-off-by: Eduardo Habkost >=20 > Can we do it only on KVM and not on TCG? We can, but I would like to avoid it, if possible. It would require more complex compat code (the "Add optional class name to kvm_default_props=A8 patch I sent some time ago), and people who need rdtscp will be able to use Opteron_G*-rdtscp soon. --=20 Eduardo