commit | b5ec2e020b7015618781d313a4a6f93c2d2b8144 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Mar 04 12:57:49 2020 -0500 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 16 17:58:53 2020 +0100 |
tree | ed640a6be8cf5524fe8f6cbb6065982b41306836 | |
parent | 727a7e27cf88a261c5a0f14f4f9ee4d767352766 [diff] |
KVM: nSVM: do not change host intercepts while nested VM is running Instead of touching the host intercepts so that the bitwise OR in recalc_intercepts just works, mask away uninteresting intercepts directly in recalc_intercepts. This is cleaner and keeps the logic in one place even for intercepts that can change even while L2 is running. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>