Re: [PATCH v3 24/40] KVM: x86: Extract get/set MSR (list) ioctl logic to helpers
From: Yosry Ahmed
Date: Fri May 29 2026 - 20:59:34 EST
On Fri, May 29, 2026 at 03:22:07PM -0700, Sean Christopherson wrote:
> Extract the code for getting/setting MSRs and MSR lists to dedicated
> helpers in anticipation of moving the MSR code to a new msrs.c.
>
> No functional change intended.
>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
This is nice. Aside from the spring cleaning, it makes parsing the
return values easier for KVM_GET_MSR_INDEX_LIST and KVM_GET_MSRS.
Reviewed-by: Yosry Ahmed <yosry@xxxxxxxxxx>