diff options
author | 2025-02-21 11:56:33 -0800 | |
---|---|---|
committer | 2025-02-22 02:21:45 +0000 | |
commit | 9d8731a1757bef8630cb47e5ae3a1abbcf863e90 (patch) | |
tree | 09ebca58f585bcb8d456bb5ca0aa1f445eec680e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drivers/hv: add CPU offlining support (diff) | |
download | wireguard-linux-9d8731a1757bef8630cb47e5ae3a1abbcf863e90.tar.xz wireguard-linux-9d8731a1757bef8630cb47e5ae3a1abbcf863e90.zip |
hyperv: Convert hypercall statuses to linux error codes
Return linux-friendly error codes from hypercall helper functions,
which allows them to be used more flexibly.
Introduce hv_result_to_errno() for this purpose, which also handles
the special value U64_MAX returned from hv_do_hypercall().
Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Reviewed-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/1740167795-13296-2-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1740167795-13296-2-git-send-email-nunodasneves@linux.microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions