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 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html