]> asedeno.scripts.mit.edu Git - linux.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)
commit637e3f86faf97a930f1ac4c3f79fd667addae9e8
tree68f05dbf772778a1cbb83387812f5805d92339fb
parent1df6ddede10a1cacbf1da4cdfca3342510db1882
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