From: Roman Kisel <romank@xxxxxxxxxxxxxxxxxxx> Sent: Friday, December 27, 2024 10:32 AM > > There is no definition of the output structure for the > GetVpRegisters hypercall. Hence, using the hypercall > is not possible when the output value has some structure > to it. Even getting a datum of a primitive type reads > as ad-hoc without that definition. > > Define struct hv_output_get_vp_registers to enable using > the GetVpRegisters hypercall. Make provisions for all > supported architectures. No functional changes. > > Signed-off-by: Roman Kisel <romank@xxxxxxxxxxxxxxxxxxx> > --- > include/hyperv/hvgdk_mini.h | 65 +++++++++++++++++++++++++++++++++++-- > 1 file changed, 63 insertions(+), 2 deletions(-) > > diff --git a/include/hyperv/hvgdk_mini.h b/include/hyperv/hvgdk_mini.h > index db3d1aaf7330..c2f5cc231dce 100644 > --- a/include/hyperv/hvgdk_mini.h > +++ b/include/hyperv/hvgdk_mini.h > @@ -781,6 +781,8 @@ struct hv_timer_message_payload { > __u64 delivery_time; /* When the message was delivered */ > } __packed; > > +#if defined(CONFIG_X86) > +