]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
KVM: x86: don't allow kernel irqchip with split irqchip
authorRadim Krčmář <rkrcmar@redhat.com>
Fri, 16 Dec 2016 15:10:01 +0000 (16:10 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Mon, 9 Jan 2017 13:38:19 +0000 (14:38 +0100)
commit35e6eaa3df55822d0cb1df3bf08e6cb816737131
tree5df885fa18a409a7d3d80826594236cfc1bd5ff7
parenta121103c922847ba5010819a3f250f1f7fc84ab8
KVM: x86: don't allow kernel irqchip with split irqchip

Split irqchip cannot be created after creating the kernel irqchip, but
we forgot to restrict the other way.  This is an API change.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c