]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: x86: Move KVM_{GET,SET}_IRQCHIP ioctl helpers to irq.c
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 21:35:45 +0000 (14:35 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:52:45 +0000 (13:52 -0700)
commitb771b1616ff89d7441e5889b84e444c48a7676f0
treecc22c85831f969d83d635d0caa1bf62bf636a769
parent00b5ebf8db7c382c7ea0074fdd79bdb9c65db236
KVM: x86: Move KVM_{GET,SET}_IRQCHIP ioctl helpers to irq.c

Move the ioctl helpers for getting/setting fully in-kernel IRQ chip state
to irq.c, partly to trim down x86.c, but mostly in preparation for adding
a Kconfig to control support for in-kernel I/O APIC, PIC, and PIT
emulation.

No functional change intended.

Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20250611213557.294358-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/irq.c
arch/x86/kvm/irq.h
arch/x86/kvm/x86.c