Re: [PATCH] disable interrupt shadow state for emulated instruction

From: Avi Kivity
Date: Thu Apr 09 2009 - 03:40:54 EST


Glauber Costa wrote:
How does this logic work when the instruction emulated is an STI or MOV SS instruction? In particular, when does GUEST_INTERRUPTIBILITY_INFO sets set to reflect the *blocking* operation?
mov ss is a non-issue, since it is executed natively.

Except in big real mode (needs emulate_invalid_guest_state = 1).

As for sti, I'm not sure. I see code for emulating sti, but in my testings,
this code was never ever touched, under a number of different scenarios.
Avi, can you clarify if sti can be in fact emulated, and under which
circunstamces?

big real mode only.



--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
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/