On 9/29/26 20:31, Roman Bogorodskiy wrote:
> Make virBhyveProcessStopImpl() not override an error. It is called
> from various cleanup routines and should preserve the original error.
> 
> Update virBhyveProcessStart() to preserve the original error
> around the STOPPED and RELEASE hooks.
> 
> Additionally, relax error handling for devicemap removal in
> virBhyveProcessStartImpl(), since it is not critical enough to raise
> an error.
> 
> Signed-off-by: Roman Bogorodskiy <[email protected]>
> Reviewed-by: Michal Privoznik <[email protected]>
> ---
> Changes since v1:
> 
>  - Instead of trying to preserve errors in virBhyveProcessStartImpl(),
>    update virBhyveProcessStopImpl() not to override errors.
> 
>  src/bhyve/bhyve_process.c | 18 ++++++++++++++----
>  1 file changed, 14 insertions(+), 4 deletions(-)

Reviewed-by: Michal Privoznik <[email protected]>

Michal

Reply via email to