Re: [PATCH] hyperv: Add missing field to hv_output_map_device_interrupt

From: Wei Liu
Date: Thu Aug 14 2025 - 17:28:55 EST


On Wed, Aug 13, 2025 at 11:20:57AM -0700, Nuno Das Neves wrote:
> This field is unused, but the correct structure size is needed
> when computing the amount of space for the output argument to
> reside, so that it does not cross a page boundary.
>
> Signed-off-by: Nuno Das Neves <nunodasneves@xxxxxxxxxxxxxxxxxxx>

There doesn't seem to be a need to rush this through hyperv-fixes.

Queued into hyperv-next before Michael's patches.

> ---
> include/hyperv/hvhdk_mini.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/hyperv/hvhdk_mini.h b/include/hyperv/hvhdk_mini.h
> index 42e7876455b5..858f6a3925b3 100644
> --- a/include/hyperv/hvhdk_mini.h
> +++ b/include/hyperv/hvhdk_mini.h
> @@ -301,6 +301,7 @@ struct hv_input_map_device_interrupt {
> /* HV_OUTPUT_MAP_DEVICE_INTERRUPT */
> struct hv_output_map_device_interrupt {
> struct hv_interrupt_entry interrupt_entry;
> + u64 ext_status_deprecated[5];
> } __packed;
>
> /* HV_INPUT_UNMAP_DEVICE_INTERRUPT */
> --
> 2.34.1
>