commit | 503cd0c50ac7161eb5c3891b48b620cb0a5521cd | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Sun Mar 03 13:05:44 2013 +0100 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 04 21:37:28 2013 -0300 |
tree | 6376b4be8ae4a6df2e972b497b48bcac032aaa96 | |
parent | 16014753b10b76385600cd59450a70b8650c72cb [diff] |
KVM: nVMX: Fix switching of debug state First of all, do not blindly overwrite GUEST_DR7 on L2 entry. The host may have guest debugging enabled. Then properly reset DR7 and DEBUG_CTL on L2->L1 switch as specified in the SDM. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>