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(
299299 do {
300300 vsock_port = get_vsock_port ();
301301 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." );
303303 break ;
304304 }
305305 s = socket (AF_VSOCK , SOCK_STREAM , 0 );
306306 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." );
308308 break ;
309309 }
310310 struct sockaddr_vm vm_addr ;
@@ -314,7 +314,7 @@ tdx_attest_error_t tdx_att_get_quote(
314314 vm_addr .svm_port = vsock_port ;
315315 vm_addr .svm_cid = VMADDR_CID_HOST ;
316316 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." );
318318 break ;
319319 }
320320
You can’t perform that action at this time.
0 commit comments