-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sev snp enhancements v1 #4
Conversation
The LaunchDigest* routines assume that the VMM is EC2. This patch allows these routines to take the VMM type as a parameter instead, allowing measurement for QEMU. Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Reviewed-by: Ian Chin Wang <ian.chin.wang@oracle.com>
The launch digest should also include the vcpu_signature to match the hardware measurement. This patch adds a vcpu_type parameter to the LaunchDigest* routines, which is used to look up the CPU signature from the existing CpuSigs table. If vcpu_type is unspecified, it defaults to using a signature value of 0. Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Reviewed-by: Ian Chin Wang <ian.chin.wang@oracle.com>
OVMF hash formatting for JSON needs to be more consistent. The Marshaling routing adds a '0x' prefix, which the unmarshaling routine doesn't account for. This change discards the '0x' prefix when marshaling. Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Reviewed-by: Ian Chin Wang <ian.chin.wang@oracle.com>
CpuSigs is missing the signature for AMD Genoa processors; this patch adds it. Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Reviewed-by: Ian Chin Wang <ian.chin.wang@oracle.com>
@derpsteb Hi there. Could you please confirm whether this pull request looks good? Thank you so much! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Thanks for the patch. Couldn't test this but lgtm. Sorry for the delay, currently OOO. Feel free to merge.
Signed-off-by: Jag Raman <jraman567@gmail.com>
@derpsteb Could you please merge this pull request? |
Closing this one as resolved by #5 . |
Hi there,
This pull request adds miscellaneous patches to address minor issues in computing the launch digest and formatting MetadataWrapper as a JSON.
Thank you!