mshv: Handle insufficient root memory hypervisor statuses
authorStanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Thu, 5 Feb 2026 18:42:27 +0000 (18:42 +0000)
committerWei Liu <wei.liu@kernel.org>
Thu, 19 Feb 2026 06:42:11 +0000 (06:42 +0000)
commit158ebb578cd5f7881fdc7c4ecebddcf9463f91fd
treecffeb2ba247058b4a6a6f4cce8e7345f8e20d83a
parentcf82dd5ea95815e6c0612b61118d2358ef5c05b0
mshv: Handle insufficient root memory hypervisor statuses

When creating guest partition objects, the hypervisor may fail to
allocate root partition pages and return an insufficient memory status.
In this case, deposit memory using the root partition ID instead.

Signed-off-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Reviewed-by: Anirudh Rayabharam (Microsoft) <anirudh@anirudhrb.com>
Reviewed-by: Mukesh R <mrathor@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/hv_common.c
drivers/hv/hv_proc.c
include/hyperv/hvgdk_mini.h