From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: Regression problem with commit 5045b46803 Date: Sun, 17 Aug 2014 08:28:16 +0200 Message-ID: <53F04B80.9050704@redhat.com> References: <53EB9D00.3050806@gmail.com> <53F04904.3070206@redhat.com> <4ACFCF76-77AB-48E5-9DDD-066A8CCF1178@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Nadav Amit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49140 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750809AbaHQG2V (ORCPT ); Sun, 17 Aug 2014 02:28:21 -0400 In-Reply-To: <4ACFCF76-77AB-48E5-9DDD-066A8CCF1178@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Il 17/08/2014 08:23, Nadav Amit ha scritto: >>> >> Although this check is mentioned in table 7-1 of the SDM as causing a >>> >> #TSS exception, it is not mentioned in table 6-6 that lists "invalid TSS >>> >> conditions" which cause #TSS exceptions. >>> >> >>> >> Thus, I recommend on reverting commit 5045b46803, or alternatively >>> >> rechecking task-switch behavior on bare-metal. >> > >> > Can you provide a kvm-unit-tests test for this? > I need to put time into writing one. However, the unit test would prove nothing. > The question is how bare-metal behaves. According to what I see, it does not perform this check. Yes, but I still prefer to have a test, in case I find some time to fix kvm-unit-tests to work on bare metal (or on Bochs). There are already a few task switch tests (32-bit only). Paolo