From 5a2f19619a47ac92ea2ef3320a114d5d3ab6af11 Mon Sep 17 00:00:00 2001 From: Jagannathan Raman Date: Sat, 1 Feb 2025 10:22:56 +0100 Subject: [PATCH] fix(ParseSnpPolicy): fix the reserved bitfield in the guest policy structure Newer SEV-SNP specification steals some of the reserved bits. Update code to keep up with the spec. Signed-off-by: Jagannathan Raman --- abi/abi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abi/abi.go b/abi/abi.go index 821c9b3..b18b5cc 100644 --- a/abi/abi.go +++ b/abi/abi.go @@ -220,7 +220,7 @@ func ParseSnpPolicy(guestPolicy uint64) (SnpPolicy, error) { if guestPolicy&uint64(1<