commit | 73f9822e5a5b8829797944a4d88bc1b7ace6f62a | [log] [tgz] |
---|---|---|
author | Nadav Amit <namit@cs.technion.ac.il> | Thu Jul 24 14:55:43 2014 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Aug 05 12:30:38 2014 +0200 |
tree | 2b1f5641ae7ff184c1a3250b05769f4498d665b0 | |
parent | b39a3e14d093ceb36e93abde23fff3cd52c7a431 [diff] |
x86: Test rflags.rf is set upon faults This patch tests whether rflags.rf is set upon #UD and #GP faults as it should, according to Intel SDM 17.3.1.1. The patch saves rflags.rf in an unused bit of the value which is saved during exception handling to save rflags.rf. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>