> > A little suggestion:
> > 
> > With error_append_hint(local_err, ...), you can add "ERRP_GUARD()" at
> > the beginning of tdx_pre_create_vcpu(), just like the commit 95e9053a34ca.
> 
> I don't think ERRP_GUARD() is needed.
> 
> ERRP_GUARD() is used to guard @errp, while here error_append_hint() is used
> on @local_err.

Yes, you're right. My bad and thanks for correction!


Reply via email to