On 01/30/2012 05:26 PM, Kevin Wolf wrote:
> > 
> > My bet is that it will be 3 if eflags.vm=1 and unchanged otherwise --
> > the cpl update happens when the segment cache is updated.  But that's
> > just a guess.
>
> Does even anyone see the new CPL in error cases? An exception is thrown
> immediately, so cs is reloaded and we get an even newer CPL. 

Depends on what we have on the IDT for the exception handler...

> So to take
> any notice of the CPL, the "complete the task switch" part would have to
> fail a privilege check. The one thing that comes to mind is that pushing
> an error code could fail, but I don't think this is considered part of
> the task switch.

Right.

-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to