]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: new irqchip mode KVM_IRQCHIP_INIT_IN_PROGRESS
authorDavid Hildenbrand <david@redhat.com>
Fri, 7 Apr 2017 08:50:19 +0000 (10:50 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:13 +0000 (20:17 +0200)
commitbcac7dd1bc6cc635ed771652127267f1ddd913c8
tree68f05dbf772778a1cbb83387812f5805d92339fb
parentd5faa3dffa46e5c5ef9bcec24fe70210d4cb6082
KVM: x86: new irqchip mode KVM_IRQCHIP_INIT_IN_PROGRESS

Let's add a new mode and set it while we create the irqchip via
KVM_CREATE_IRQCHIP and KVM_CAP_SPLIT_IRQCHIP.

This mode will be used later to test if adding routes
(in kvm_set_routing_entry()) is already allowed.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/irq.h
arch/x86/kvm/x86.c