Re: [PATCH] KVM: VMX: Don't register posted interrupt wakeup handler if alloc_kvm_area() fails

From: Sean Christopherson

Date: Thu Jan 15 2026 - 13:08:08 EST


On Tue, 13 Jan 2026 19:56:50 +0800, Hou Wenlong wrote:
> Unregistering the posted interrupt wakeup handler only happens during
> hardware unsetup. Therefore, if alloc_kvm_area() fails and continue to
> register the posted interrupt wakeup handler, this will leave the global
> posted interrupt wakeup handler pointer in an incorrect state. Although
> it should not be an issue, it's still better to change it.
>
>
> [...]

Applied to kvm-x86 vmx, with the goto approach. Thanks!

[1/1] KVM: VMX: Don't register posted interrupt wakeup handler if alloc_kvm_area() fails
https://github.com/kvm-x86/linux/commit/6c8512a5b7f4

--
https://github.com/kvm-x86/linux/tree/next