]> xenbits.xensource.com Git - xen.git/commit
tools/pygrub: Remove unnecessary hypercall
authorAlejandro Vallejo <alejandro.vallejo@cloud.com>
Mon, 25 Sep 2023 17:32:21 +0000 (18:32 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 27 Sep 2023 15:29:27 +0000 (16:29 +0100)
commit8a584126eae53a44cefb0acdbca201233a557fa5
tree2ca0c964a7c95700556b3b5ec2c8d121c80b6a84
parenteb4efdac4cc7121f832ee156f39761312878f3a5
tools/pygrub: Remove unnecessary hypercall

There's a hypercall being issued in order to determine whether PV64 is
supported, but since Xen 4.3 that's strictly true so it's not required.

Plus, this way we can avoid mapping the privcmd interface altogether in the
depriv pygrub.

This is part of XSA-443 / CVE-2023-34325

Signed-off-by: Alejandro Vallejo <alejandro.vallejo@cloud.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
(cherry picked from commit f4b504c6170c446e61055cbd388ae4e832a9deca)
tools/pygrub/src/pygrub