Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

sev-guest-get-report fails with firmware error 27 #43

@DiWangShePi

Description

@DiWangShePi

I'm having a bit of trouble trying to get a report.

$ sudo ./sev-guest-get-report guest_report.bin -x
Generating report using the following hash:
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000

firmware error 27
get_extended_report: Directory not empty

I'm not quite sure what's going on, this is the first time I've tried using this tool. I looked at the system logs and confirmed that AMD SEV-SNP was enabled

$ sudo dmesg | grep -i SEV
[    1.566544] Memory Encryption Features active: AMD SEV SEV-ES SEV-SNP
[    2.129720] SEV: Using SNP CPUID table, 64 entries present.
[    2.565234] SEV: SNP guest platform device initialized.
[    8.790464] sev-guest sev-guest: Initialized SEV guest driver (using vmpck_id 0)

I would appreciate it if you could tell me what I did wrong or what steps I missed. The commands I execute are, in order:

git clone https://github.com/AMDESE/sev-guest.git
cd sev-guest
make sev-guest-get-report
make sev-guest-parse-report

Then I use this command and met the problem

sudo ./sev-guest-get-report guest_report.bin -x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions