]> 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)
commitdf7e0341defe5a6a051a8cc82e62c448d828e929
tree68f05dbf772778a1cbb83387812f5805d92339fb
parent12e3b2cc46bb836384d5e78215c5006dc1a7bfc1
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