Re: [PATCH 10/10] kvm: vmx: handle VMEXIT from SGX Enclave

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

 





On 6/28/2017 3:29 AM, Radim Krčmář wrote:
2017-06-19 17:02+1200, Huang, Kai:
Hi Paolo, all,

Sorry for reply late.

I'm sorry as well,

Do you think it is feasible to turn on PLE again on another further VMEXIT?
Or another VMEXIT that is not from enclave?

Any suggestions so that I can improve in next version RFC?

KVM doesn't enable "PAUSE exiting", it enables "PAUSE loop exiting".
SDM recommends disabling "PAUSE exiting" because the VM exits
(fault-like) on every PAUSE and needs intervention in order to progress,
but SDM doesn't say to disable "PAUSE loop exiting".

Being inside an enclave doesn't change the usefulness of PLE (yielding
the CPU to a task that isn't blocked), so I think it would be best to do
nothing with it, thanks.

Hi Radim,

Thanks for feedback. You are right, and obviously I didn't read SDM carefully. Will do in next version. :)

Thanks,
-Kai




[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