aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2019-01-30 17:18:59 +0100
committerPaolo Bonzini <[email protected]>2019-02-20 22:48:21 +0100
commitf7589cca50ef8970dda56cdced8d96d05aa0a777 (patch)
tree972efe21769c8d3b7462fafd3eb353a031bf5045 /tools/perf/scripts/python
parent98d90582be2e08246a70af31e09950ecb8876252 (diff)
KVM: x86: cull apicv code when userspace irqchip is requested
Currently apicv_active can be true even if in-kernel LAPIC emulation is disabled. Avoid this by properly initializing it in kvm_arch_vcpu_init, and then do not do anything to deactivate APICv when it is actually not used (Currently APICv is only deactivated by SynIC code that in turn is only reachable when in-kernel LAPIC is in use. However, it is cleaner if kvm_vcpu_deactivate_apicv avoids relying on this. Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions