Re: [PATCH 1/3] KVM: VMX: Move the shared "IRQs off" exit handler(s) to common code

Binbin Wu <[email protected]>
Newsgroups dev.linux.lists.linux-coco,org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/15/2026 12:11 AM, Sean Christopherson wrote:
> Move vmx_handle_exit_irqoff() and its helpers to common.h / main.c to
> capture that it's a common handler and to allow guarding against incorrectly
> using to_vmx(), and to allow for
                                   ^
It appears to have been abruptly truncated here?

> 
> Cc: Rick Edgecombe <[email protected]>
> Cc: Xiaoyao Li <[email protected]>
> Cc: Binbin Wu <[email protected]>
> Cc: Kai Huang <[email protected]>
> Cc: Yan Zhao <[email protected]>
> Signed-off-by: Sean Christopherson <[email protected]>

[...]

> +
> +static void vmx_handle_exit_irqoff(struct kvm_vcpu *vcpu)

Since it's moved to the common code, is it better to rename it
to vt_handle_exit_irqoff()?

[...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.