aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-02-04 17:24:58 -0800
committerPaolo Bonzini <[email protected]>2021-02-09 08:17:05 -0500
commit2644312052d54e2e7543c7d186899a36ed22f0bf (patch)
tree6267b36d60289f36b696f5e88738a480a4ef4b8c /lib/mpi/mpi-mod.c
parent16d5163f338753fb93b1809e067da5d27d540fbc (diff)
KVM: x86: Restore all 64 bits of DR6 and DR7 during RSM on x86-64
Restore the full 64-bit values of DR6 and DR7 when emulating RSM on x86-64, as defined by both Intel's SDM and AMD's APM. Note, bits 63:32 of DR6 and DR7 are reserved, so this is a glorified nop unless the SMM handler is poking into SMRAM, which it most definitely shouldn't be doing since both Intel and AMD list the DR6 and DR7 fields as read-only. Fixes: 660a5d517aaa ("KVM: x86: save/load state on SMM switch") Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions