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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux