On Aug 17, 2014, at 9:28 AM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > 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? >> >> 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). > Can you please assist in running the existing task-switch tests first? In x86_64 the task-switch tests are skipped. If I configure the tests to use the i386 architecture, the build fails. Even after fixing the compilation errors, I don’t manage to get the task-switch tests to pass. Nadav -- 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