commit | 5777392e83c96e3a0799dd2985598e0fc76cf4aa | [log] [tgz] |
---|---|---|
author | Nadav Amit <nadav.amit@gmail.com> | Wed Jun 18 17:19:23 2014 +0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 19 12:52:14 2014 +0200 |
tree | b9b9d7ee6afe5d0e1864750b292abd2bb11fea53 | |
parent | 5381417f6a51293e7b8af1eb18aefa5d47976a71 [diff] |
KVM: x86: check DR6/7 high-bits are clear only on long-mode When the guest sets DR6 and DR7, KVM asserts the high 32-bits are clear, and otherwise injects a #GP exception. This exception should only be injected only if running in long-mode. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>