From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [kvm-unit-tests PATCH] x86: realmode: add FXSR tests Date: Wed, 2 Nov 2016 21:52:44 +0100 Message-ID: <20161102205244.GB7771@potion> References: <20161102195320.31671-1-rkrcmar@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Paolo Bonzini , Bandan Das , Nadav Amit To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:48986 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755198AbcKBUws (ORCPT ); Wed, 2 Nov 2016 16:52:48 -0400 Content-Disposition: inline In-Reply-To: <20161102195320.31671-1-rkrcmar@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 2016-11-02 20:53+0100, Radim Krčmář: > Even unrestricted_guest will fail fxrstor when the host and guest don't > match deprecation of CS and DS in CPUID, which is the current behavior > at least on Haswell (and not Sandy Bridge). > > I have added a fixup to detect other errors -- the second fxrstor should > pass. > > Signed-off-by: Radim Krčmář > --- The fxsr test will hang on old KVMs, so I'll add this hunk in v2: diff --git a/x86/unittests.cfg b/x86/unittests.cfg index 72425176e074..117cb4403fd6 100644 --- a/x86/unittests.cfg +++ b/x86/unittests.cfg @@ -133,6 +133,7 @@ file = port80.flat [realmode] file = realmode.flat +timeout = 60 [s3] file = s3.flat