You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
src/set-cert-chain.c: In function ‘store_certs’:
src/set-cert-chain.c:467:9: error: variable ‘ext_config’ has initializer but incomplete type
467 | struct sev_user_data_ext_snp_config ext_config = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/set-cert-chain.c:468:4: error: ‘struct sev_user_data_ext_snp_config’ has no member named ‘config_address’
468 | .config_address = 0,
| ^~~~~~~~~~~~~~
src/set-cert-chain.c:468:21: error: excess elements in struct initializer [-Werror]
468 | .config_address = 0,
| ^
src/set-cert-chain.c:468:21: note: (near initialization for ‘ext_config’)
src/set-cert-chain.c:469:4: error: ‘struct sev_user_data_ext_snp_config’ has no member named ‘certs_address’
469 | .certs_address = (__u64)data,
| ^~~~~~~~~~~~~
src/set-cert-chain.c:469:20: error: excess elements in struct initializer [-Werror]
469 | .certs_address = (__u64)data,
| ^
src/set-cert-chain.c:469:20: note: (near initialization for ‘ext_config’)
src/set-cert-chain.c:470:4: error: ‘struct sev_user_data_ext_snp_config’ has no member named ‘certs_len’
470 | .certs_len = size,
| ^~~~~~~~~
src/set-cert-chain.c:470:16: error: excess elements in struct initializer [-Werror]
470 | .certs_len = size,
| ^~~~
src/set-cert-chain.c:470:16: note: (near initialization for ‘ext_config’)
src/set-cert-chain.c:467:38: error: storage size of ‘ext_config’ isn’t known
467 | struct sev_user_data_ext_snp_config ext_config = {
| ^~~~~~~~~~
src/set-cert-chain.c:473:10: error: ‘SNP_SET_EXT_CONFIG’ undeclared (first use in this function)
473 | .cmd = SNP_SET_EXT_CONFIG,
| ^~~~~~~~~~~~~~~~~~
src/set-cert-chain.c:473:10: note: each undeclared identifier is reported only once for each function it appears in
src/set-cert-chain.c:467:38: error: unused variable ‘ext_config’ [-Werror=unused-variable]
467 | struct sev_user_data_ext_snp_config ext_config = {
| ^~~~~~~~~~
with upstream kernel 5.19.0-1-amd64 and libc 5.4:
(edit: same with host and guest kernel from https://github.com/AMDESE/linux-svsm)