From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 08/21] KVM: x86: Reset FPU state during reset Date: Thu, 06 Nov 2014 09:58:43 +0100 Message-ID: <545B3843.8090501@redhat.com> References: <1414922101-17626-1-git-send-email-namit@cs.technion.ac.il> <1414922101-17626-9-git-send-email-namit@cs.technion.ac.il> <545A1264.5030002@redhat.com> <545A3A6C.3010302@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Nadav Amit , kvm@vger.kernel.org To: Nadav Amit Return-path: Received: from mail-wi0-f177.google.com ([209.85.212.177]:40680 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751396AbaKFI6s (ORCPT ); Thu, 6 Nov 2014 03:58:48 -0500 Received: by mail-wi0-f177.google.com with SMTP id ex7so769605wid.16 for ; Thu, 06 Nov 2014 00:58:46 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 05/11/2014 21:31, Nadav Amit wrote: > You are correct, it does not appear clearly in the SDM, but that is w= hat real hardware does. > If you look at bochs - http://code.metager.de/source/xref/bochs/bochs= /cpu/init.cc - you=92ll see they call > "BX_CPU_THIS_PTR xcr0.set32(0x1);=94 regardless to whether it is hard= ware or software reset (the latter happens on INIT). =46air enough. :) Does the patch in http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/129060 look g= ood? Paolo