Re: [PATCH 9/9] KVM: x86: Move "struct kvm_vcpu_hv" and all children from kvm_host.h => hyperv.h
From: Huang, Kai
Date: Thu Jun 25 2026 - 20:58:14 EST
On Thu, 2026-06-25 at 15:04 -0700, Sean Christopherson wrote:
> Move "struct kvm_vcpu_hv" and all of its child structures to hyperv.h,
> guarded by CONFIG_KVM_HYPERV=y, as "struct kvm_vcpu_arch" holds a pointer
> to the structure, i.e. only needs the structure to be declared, not fully
> defined.
>
> No functional change intended.
>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
>
Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>
FWIW, build tested both KVM_HYPERV=y and KVM_HYPERV=n worked fine.