From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGTU2-0000oN-EG for qemu-devel@nongnu.org; Mon, 02 Sep 2013 08:44:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGTTv-00062U-P0 for qemu-devel@nongnu.org; Mon, 02 Sep 2013 08:43:54 -0400 Received: from nodalink.pck.nerim.net ([62.212.105.220]:58827 helo=paradis.irqsave.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGTTv-00062G-Fs for qemu-devel@nongnu.org; Mon, 02 Sep 2013 08:43:47 -0400 Date: Mon, 2 Sep 2013 14:45:48 +0200 From: =?iso-8859-1?Q?Beno=EEt?= Canet Message-ID: <20130902124548.GF5073@irqsave.net> References: <1377635906-17274-1-git-send-email-benoit@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1377635906-17274-1-git-send-email-benoit@irqsave.net> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] forward cpuid leaves when using -cpu host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: imammedo@redhat.com, ehabkost@redhat.com, afaerber@suse.de Ping, I am aware that this patch must be a QObject/CPUState monstruosity but I = don't see how I could store the fact that the cpu derive from a "host" type cpu= . The alternative would be to remember a variable number of leaves and serv= ing them to the guest as needed but I don't find that much cleaner. Best regards Beno=EEt > Le Tuesday 27 Aug 2013 =E0 22:38:25 (+0200), Beno=EEt Canet a =E9crit : > This patch uses directly cpuid_host to forward the informations instead= of > storing a variable number of leaves in the cpu states. >=20 > Beno=EEt Canet (1): > i386: forward CPUID cache leaves when -cpu host is used >=20 > target-i386/cpu.c | 19 +++++++++++++++++++ > target-i386/cpu.h | 1 + > 2 files changed, 20 insertions(+) >=20 > --=20 > 1.7.10.4 >=20