Re: [PATCH 2/2] hyperv: Do not overlap the input and output hypercall areas in get_vtl(void)

From: Roman Kisel
Date: Thu Dec 26 2024 - 15:42:53 EST




On 12/26/2024 12:04 PM, Michael Kelley wrote:
[...]


As I was looking at how hypercall input and output arguments are
managed in upstream code and in the OHCL-Linux-Kernel repo,
I noticed two things:

1) There's a bug in mshv_vtl_hvcall_call() in the OHCL-Linux-Kernel
repo, for which I filed a github issue. [1]
Appreciated very much!


2) hv_vtl_apicid_to_vp_id() also has the overlapping hypercall input
and output spec violation. You might want to fix that occurrence as
well in this patch set.
Let me do that, thank you!


Michael

[1] https://github.com/microsoft/OHCL-Linux-Kernel/issues/33

--
Thank you,
Roman