Re: [PATCH v4 07/17] sev: Update launch_update_data functions to use Error handling

2024-07-24 Thread Daniel P . Berrangé
On Wed, Jul 03, 2024 at 12:05:45PM +0100, 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 'E

[PATCH v4 07/17] sev: Update launch_update_data functions to use Error handling

2024-07-03 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