diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-09-21 05:42:55 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-09-23 15:00:07 +0200 |
commit | c863901075a42d50678616d8ee4b96ef13080498 (patch) | |
tree | 947ffa1bd109f15b9cb483c8257fb028d0ed7df3 /arch/cris | |
parent | KVM: Add resampling irqfds for level triggered interrupts (diff) | |
download | linux-c863901075a42d50678616d8ee4b96ef13080498.tar.xz linux-c863901075a42d50678616d8ee4b96ef13080498.zip |
KVM: x86: Fix guest debug across vcpu INIT reset
If we reset a vcpu on INIT, we so far overwrote dr7 as provided by
KVM_SET_GUEST_DEBUG, and we also cleared switch_db_regs unconditionally.
Fix this by saving the dr7 used for guest debugging and calculating the
effective register value as well as switch_db_regs on any potential
change. This will change to focus of the set_guest_debug vendor op to
update_dp_bp_intercept.
Found while trying to stop on start_secondary.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions