commit | d44e1212230a68f9dccd1a95b5c8ca5217c62094 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Feb 09 10:02:05 2015 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Feb 09 13:36:01 2015 +0100 |
tree | 8f3e4007c2bd4126422b4efe7e85b6f0d5333b26 | |
parent | ccd9e785ea174a1c21d4c63a2afaacd6ef31d56d [diff] |
KVM: x86: emulate: correct page fault error code for NoWrite instructions NoWrite instructions (e.g. cmp or test) never set the "write access" bit in the error code, even if one of the operands is treated as a destination. Fixes: c205fb7d7d4f81e46fc577b707ceb9e356af1456 Cc: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>