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

Re: [Xen-devel] 64-bit failsafe callback

>The reload into %gs is indeed bogus -- it should instead 
>HYPERVISOR_set_segment_base(SEGBASE_GS_USER_SEL, gs).

... and then perhaps also for %fs (though I see there is no
hypercall for that, so this is going to be more complicated,
given that this happens in an assembly file), and perhaps
avoiding the two loads altogether if the selectors are zero
and their present values are also zero, to prevent trampling
on any base values in effect.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.