On Thu, Oct 30, 2025 at 02:40:31PM -0700, Nuno Das Neves wrote:
> From: Muminul Islam <[email protected]>
> 
> The existing mshv create partition ioctl does not provide a way to
> specify which cpu features are enabled in the guest. This was done
> to reduce unnecessary complexity in the API.
> 
> However, some new scenarios require fine-grained control over the
> cpu feature bits.
> 
> Define a new mshv_create_partition_v2 structure which supports passing
> through the disabled cpu flags and xsave flags to the hypervisor
> directly.
> 
> When these are not specified (pt_num_cpu_fbanks == 0) or the old
> structure is used, define a set of default flags which cover most
> cases.
> 
> Retain backward compatibility with the old structure via a new flag
> MSHV_PT_BIT_CPU_AND_XSAVE_FEATURES which enables the new struct.
> 
> Co-developed-by: Jinank Jain <[email protected]>
> Signed-off-by: Jinank Jain <[email protected]>
> Signed-off-by: Muminul Islam <[email protected]>
> Signed-off-by: Nuno Das Neves <[email protected]>
> ---
> Changes in v2:
> - Fix compilation issues [kernel test robot]
> 
> ---
>  drivers/hv/mshv_root_main.c | 176 ++++++++++++++++++++++++++++++++----
>  include/hyperv/hvhdk.h      |  86 +++++++++++++++++-

There is no mention of updating hvhdk.h in the commit message.

Can you split out this part to a separate commit? 

Wei

Reply via email to