Re: [PATCH] deal with interrupt shadow state for emulated instruction

From: H. Peter Anvin
Date: Tue Apr 14 2009 - 12:08:24 EST


Avi Kivity wrote:
>
> The comment about repeating 'mov ss' in the manual has that wonderful
> word in it, May. That means we're perfectly allowed to ignore it and
> just set the flag unconditionally.
>

Realistically, though, this should only be done for a limited number of
sequential instructions.

> I doubt we'll ever see a repeated 'mov ss', once is more than enough.

True enough, except maliciously.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/