Commit Graph

4 Commits

Author SHA1 Message Date
Sergio Lopez 9c4c3f0d0e sev: fix SNP measurement with multiple vCPUs
So far, we only supported generating the SNP measurement with a single
vCPU. Add support for measuring more than one.

Signed-off-by: Sergio Lopez <slp@redhat.com>
2023-03-10 00:34:05 -05:00
Sergio Lopez cf1eaedcb2 sev: Calculate SNP launch measurement
Extend krunfw_measurement to, in addition of calculating the
measurement of SEV and SEV-ES, do it so for SNP too.

Signed-off-by: Sergio Lopez <slp@redhat.com>
2022-10-28 19:34:13 +02:00
Sergio Lopez 0c8b54786b utils: update SEV-ES launch measurement generation
Update SEV-ES launch measurement generation to conciliate it with the
latest changes in libkrun and libkrunfw.

Signed-off-by: Sergio Lopez <slp@redhat.com>
2022-08-10 14:13:41 +02:00
Sergio Lopez 49550e7b25 utils: generate SEV-ES measurements
Extend utils/sev_launch_measurement.c to also provide SEV-ES
measurements.

Signed-off-by: Sergio Lopez <slp@redhat.com>
2022-08-08 14:16:35 +02:00