Re: [PATCH v3 27/40] KVM: x86: Move register helper declarations from kvm_host.h => regs.h
From: Huang, Kai
Date: Thu Jun 04 2026 - 08:46:31 EST
On Fri, 2026-05-29 at 15:22 -0700, Sean Christopherson wrote:
> Relocate declarations of Control/Debug Register, EFLAGS and RIP helpers
> from x86's kvm_host.h to regs.h, to continue trimming down kvm_host.h.
>
> No functional change intended.
>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>
> void __kvm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
> +void kvm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
>
:-)
Seems a candidate of making kvm_set_rflags() a 'static inline' ?