Re: [PATCH v3 06/15] sev: Update launch_update_data functions to use Error handling

2024-06-28 Thread Roy Hopkins
On Thu, 2024-06-27 at 14:48 +0200, Stefano Garzarella wrote: > On Fri, Jun 21, 2024 at 03:29:09PM GMT, Roy Hopkins wrote: > > The class function and implementations for updating launch data return > > a code in case of error. In some cases an error message is generated and > > in other cases, just

Re: [PATCH v3 06/15] sev: Update launch_update_data functions to use Error handling

2024-06-27 Thread Stefano Garzarella
On Fri, Jun 21, 2024 at 03:29:09PM GMT, Roy Hopkins wrote: The class function and implementations for updating launch data return a code in case of error. In some cases an error message is generated and in other cases, just the error return value is used. This small refactor adds an 'Error **err

[PATCH v3 06/15] sev: Update launch_update_data functions to use Error handling

2024-06-21 Thread Roy Hopkins
The class function and implementations for updating launch data return a code in case of error. In some cases an error message is generated and in other cases, just the error return value is used. This small refactor adds an 'Error **errp' parameter to all functions which consistently set an error