Re: [PATCH v2 0/3] Fix task switches into/out of VM86

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

 



Am 27.01.2012 20:52, schrieb Gleb Natapov:
> On Fri, Jan 27, 2012 at 08:23:33PM +0100, Kevin Wolf wrote:
>> I believe this should work with both VMX and SVM now. Gleb, Jörg, can one of
>> you test this with SVM? I did some testing on my buggy processor and it looks
>> as good as it gets, but it would be better if you could confirm.
>>
> You forgot to set cpl to 3 in vmcb in svm_set_rflags() when vm86 is enabled, no?

SVM updates the CPL when the segment selector for CS is loaded. From a
svm.c POV, segment selectors are updated immediately after set_rflags,
so it wouldn't really make a difference to do it twice.

Kevin
--
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


[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