lkml.org 
[lkml]   [2014]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH kvm-unit-tests 0/3] x86: Test rflags.rf clearing/setting
Il 21/07/2014 13:39, Nadav Amit ha scritto:
> 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(-)
>

I applied patch 1.

Paolo


\
 
 \ /
  Last update: 2014-07-21 15:01    [W:0.110 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site