File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
QuoteGeneration/quote_wrapper/tdx_attest Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -299,12 +299,12 @@ tdx_attest_error_t tdx_att_get_quote(
299
299
do {
300
300
vsock_port = get_vsock_port ();
301
301
if (!vsock_port ) {
302
- syslog (LOG_INFO , "libtdx_attest: fallback to tdvmcall mode." );
302
+ syslog (LOG_INFO , "libtdx_attest: cannot parse sock port - fallback to tdvmcall mode." );
303
303
break ;
304
304
}
305
305
s = socket (AF_VSOCK , SOCK_STREAM , 0 );
306
306
if (-1 == s ) {
307
- syslog (LOG_INFO , "libtdx_attest: fallback to tdvmcall mode." );
307
+ syslog (LOG_INFO , "libtdx_attest: cannot create socket - fallback to tdvmcall mode." );
308
308
break ;
309
309
}
310
310
struct sockaddr_vm vm_addr ;
@@ -314,7 +314,7 @@ tdx_attest_error_t tdx_att_get_quote(
314
314
vm_addr .svm_port = vsock_port ;
315
315
vm_addr .svm_cid = VMADDR_CID_HOST ;
316
316
if (connect (s , (struct sockaddr * )& vm_addr , sizeof (vm_addr ))) {
317
- syslog (LOG_INFO , "libtdx_attest: fallback to tdvmcall mode." );
317
+ syslog (LOG_INFO , "libtdx_attest: cannot connect - fallback to tdvmcall mode." );
318
318
break ;
319
319
}
320
320
You can’t perform that action at this time.
0 commit comments