Skip to content
Commit d8e4e58f authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: nSVM: restore clobbered INT_CTL fields after clearing VINTR



Restore the INT_CTL value from the guest's VMCB once we've stopped using
it, so that virtual interrupts can be injected as requested by L1.
V_TPR is up-to-date however, and it can change if the guest writes to CR8,
so keep it.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent e670bf68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment