Re: [kvm-unit-tests PATCH] x86: Initialize segment selectors

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

 



On 24/06/20 19:28, Nadav Amit wrote:
> Unfortunately this change does not work for me (i.e., it breaks the
> task-switch test on my setup). Admittedly, my patch was wrong.
> 
> I actually did not notice this scheme of having the GS descriptor and
> GS-base out of sync. It seems very fragile, specifically when you have a
> task-switch that reloads the GS and overwrites the original value.
> 
> I will try to investigate it further later.

Yeah, it's fragile but it's limited to the task switch tests; and it's
the only way to do it without having a separate selector or LDT for each
CPU.

Paolo




[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