lkml.org 
[lkml]   [2014]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Is espfix64's double-fault thing OK on Xen?
On 07/14/2014 02:35 PM, Andy Lutomirski wrote:
> Presumably the problem is here:
>
> ENTRY(xen_iret)
> pushq $0
> 1: jmp hypercall_iret
> ENDPATCH(xen_iret)
>
> This seems rather unlikely to work on the espfix stack.
>
> Maybe espfix64 should be disabled when running on Xen and Xen should
> implement its own espfix64 in the hypervisor.

Perhaps the first question is: is espfix even necessary on Xen? How
does the Xen PV IRET handle returning to a 16-bit stack segment?

-hpa




\
 
 \ /
  Last update: 2014-07-15 01:01    [W:0.127 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site