On Aug 19, 2014, at 4:28 PM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > Il 19/08/2014 15:04, Nadav Amit ha scritto: >> >> +void test_conforming_switch(void) >> +{ >> + /* test lcall with conforming segment, cs.dpl != cs.rpl */ >> + test_count = 0; >> + set_intr_task_gate(0, user_tss); > > No need to use set_intr_task_gate, since the IDT is not involved here. > > tss_intr.eip = (u32)user_tss; > > is enough. > > I fixed this up and applied the patch. Thanks! I know, but all the other ‘call' tests did. If there is an error, at least it should be consistent. ;-) Thanks, Nadav
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail