From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW2mO-0004Op-Gn for qemu-devel@nongnu.org; Mon, 13 Jun 2011 04:45:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW2mN-0000Bq-2c for qemu-devel@nongnu.org; Mon, 13 Jun 2011 04:45:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW2mM-0000Bm-Ql for qemu-devel@nongnu.org; Mon, 13 Jun 2011 04:45:51 -0400 Message-ID: <4DF5CE2E.50008@redhat.com> Date: Mon, 13 Jun 2011 11:45:34 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4DF33413.9070605@web.de> In-Reply-To: <4DF33413.9070605@web.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH][uq/master] kvm: x86: Save/restore FPU OP, IP and DP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Christophe Fergeau , Marcelo Tosatti , qemu-devel , kvm , Stefan Hajnoczi On 06/11/2011 12:23 PM, Jan Kiszka wrote: > From: Jan Kiszka > > These FPU states are properly maintained by KVM but not yet by TCG. So > far we unconditionally set them to 0 in the guest which may cause > state corruptions - not only during migration. > > > -#define CPU_SAVE_VERSION 12 > +#define CPU_SAVE_VERSION 13 > Incrementing the version number seems excessive - I can't imagine a real-life guest will break due to fp pointer corruption However, I don't think we have a mechanism for optional state. We discussed this during the 18th VMState Subsection Symposium and IIRC agreed to re-raise the issue when we encountered it, which appears to be now. -- error compiling committee.c: too many arguments to function