Re: [PATCH] KVM: x86: Move PIT existence checks into the PIT ioctl helpers
From: Sean Christopherson
Date: Fri Nov 13 2026 - 10:18:07 EST
On Tue, 27 Oct 2026 09:16:00 +0900, Ingyu Jang wrote:
> kvm_vm_ioctl_get_pit() and kvm_vm_ioctl_get_pit2() always return 0,
> so the error checks on their return values in kvm_arch_vm_ioctl()
> never trigger.
>
> Move the !kvm->arch.vpit checks from the callers into the PIT ioctl
> helpers, so that these error checks handle the missing PIT case.
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Move PIT existence checks into the PIT ioctl helpers
https://github.com/kvm-x86/linux/commit/9e03a08bda04
--
https://github.com/kvm-x86/linux/tree/next