Re: [PATCH 28/29] KVM: VMX: Make the vCPU-run asm routine callable from C

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

 



On 22/01/19 15:59, Sean Christopherson wrote:
> On Tue, Jan 22, 2019 at 01:35:41PM +0100, Paolo Bonzini wrote:
>> On 18/01/19 22:20, Sean Christopherson wrote:
>>> ...and of course actually call it from C now that the assembly code is
>>> in a dedicated sub-routine and has been cleansed of any quirks that
>>> would break compliance with the kernel's x86 calling conventions.
>>
>> I'm not sure about removing the clobbering.  If the stack is outside L1,
>> could this lead to speculative execution with the guest values in the
>> registers?
> 
> The stack belongs to the L0 kernel.  Or did I misunderstand the comment?

I meant outside L1 cache (overloaded terms... :)).

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