diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2025-04-28 13:55:31 -0500 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-05-02 13:39:33 -0700 |
commit | 5fea0c6c0ebe0a645c247f29fc683852cf51af70 (patch) | |
tree | 6dc6a55997dd8356277decc30d3d612492a64449 /scripts/lib/abi/abi_regex.py | |
parent | 20a6cff3b283f0601048ace87ad1bc89627e36f2 (diff) |
KVM: SVM: Update dump_ghcb() to use the GHCB snapshot fields
Commit 4e15a0ddc3ff ("KVM: SEV: snapshot the GHCB before accessing it")
updated the SEV code to take a snapshot of the GHCB before using it. But
the dump_ghcb() function wasn't updated to use the snapshot locations.
This results in incorrect output from dump_ghcb() for the "is_valid" and
"valid_bitmap" fields.
Update dump_ghcb() to use the proper locations.
Fixes: 4e15a0ddc3ff ("KVM: SEV: snapshot the GHCB before accessing it")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Link: https://lore.kernel.org/r/8f03878443681496008b1b37b7c4bf77a342b459.1745866531.git.thomas.lendacky@amd.com
[sean: add comment and snapshot qualifier]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/lib/abi/abi_regex.py')
0 files changed, 0 insertions, 0 deletions