]> 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:50 +0000 (16:29 +0100)
commit3d760a3bb9b55e5dd45534cac3cdb561a57f2ee0
tree664ae406bf189462864a44edff3b701ffaa8794e
parent766126159ee963cdc16ba9cb2b0ca54b98bc148f
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