This series of patches introduces checks for rflags.rf and whether it is cleared after emulation, and set correctly. The last (third) patch fails even with recent fixes, since there is no easy way for the hypervisor to determine whether any iteration of rep-string was executed before. RFLAGS.RF should be cleared before the first iteration, and set otherwise.
Nadav Amit (3): x86: Check rflags.rf is cleared after emulation x86: Test rflags.rf is set upon faults x86: Check RFLAGS.RF on interrupt during REP-str lib/x86/desc.c | 14 +++++++++++--- lib/x86/desc.h | 1 + x86/eventinj.c | 16 ++++++++++++++++ x86/idt_test.c | 13 +++++++++---- x86/realmode.c | 3 ++- 5 files changed, 39 insertions(+), 8 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

