aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorDov Murik <dovmurik@linux.ibm.com>2021-11-11 10:00:45 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2021-11-18 11:07:56 +0000
commit5a0294a21c7677498bf40a447cc4a417d51a3cf4 (patch)
treed6dfbe4b650dde0cf926b3f7b9f5ae8d9686c6a0 /target
parent9dbe0c93f00d3aef9ac386c390595d370cfad677 (diff)
downloadqemu-5a0294a21c7677498bf40a447cc4a417d51a3cf4.zip
qemu-5a0294a21c7677498bf40a447cc4a417d51a3cf4.tar.gz
qemu-5a0294a21c7677498bf40a447cc4a417d51a3cf4.tar.bz2
target/i386/sev: Rephrase error message when no hashes table in guest firmware
Signed-off-by: Dov Murik <dovmurik@linux.ibm.com> Acked-by: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/i386/sev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/i386/sev.c b/target/i386/sev.c
index e3abbee..6ff196f 100644
--- a/target/i386/sev.c
+++ b/target/i386/sev.c
@@ -1232,7 +1232,8 @@ bool sev_add_kernel_loader_hashes(SevKernelLoaderContext *ctx, Error **errp)
}
if (!pc_system_ovmf_table_find(SEV_HASH_TABLE_RV_GUID, &data, NULL)) {
- error_setg(errp, "SEV: kernel specified but OVMF has no hash table guid");
+ error_setg(errp, "SEV: kernel specified but guest firmware "
+ "has no hashes table GUID");
return false;
}
area = (SevHashTableDescriptor *)data;