Re: [PATCH kvm-unit-tests] x86: Test task-switch with cs.rpl != cs.dpl

2014-08-19 Thread Paolo Bonzini
Il 17/08/2014 21:34, Nadav Amit ha scritto: > Commit 5045b46803 added a check that cs.dpl equals cs.rpl during task-switch. > This is a wrong check, and this test introduces a test in which cs.dpl != > cs.rpl. To do so, it configures tss.cs to be conforming with rpl=3 and dpl=0. > Since the cpl aft

[PATCH kvm-unit-tests] x86: Test task-switch with cs.rpl != cs.dpl

2014-08-17 Thread Nadav Amit
Commit 5045b46803 added a check that cs.dpl equals cs.rpl during task-switch. This is a wrong check, and this test introduces a test in which cs.dpl != cs.rpl. To do so, it configures tss.cs to be conforming with rpl=3 and dpl=0. Since the cpl after calling is 3, it does not make any prints in the