aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRadim Krčmář <[email protected]>2016-12-16 16:10:05 +0100
committerRadim Krčmář <[email protected]>2017-01-09 14:45:50 +0100
commit8231f50d9853274ed104aac86b6b6263ca666c4d (patch)
tree5d9a37472616e7a789505ecec1cd1458c7c2c5a0 /tools/perf/scripts/python
parente5dc48777dcc898210e2f16d80d44718db38cdc3 (diff)
KVM: x86: prevent setup of invalid routes
The check in kvm_set_pic_irq() and kvm_set_ioapic_irq() was just a temporary measure until the code improved enough for us to do this. This changes APIC in a case when KVM_SET_GSI_ROUTING is called to set up pic and ioapic routes before KVM_CREATE_IRQCHIP. Those rules would get overwritten by KVM_CREATE_IRQCHIP at best, so it is pointless to allow it. Userspaces hopefully noticed that things don't work if they do that and don't do that. Reviewed-by: Paolo Bonzini <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Radim Krčmář <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions