]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: hooks: improve process start error handling
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sun, 21 Sep 2025 18:16:42 +0000 (20:16 +0200)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Fri, 26 Sep 2025 15:50:04 +0000 (17:50 +0200)
commit9d57b562bdbf35945d9e9ac3220a27d1989115af
tree5d12cbfa0c6501c739debeebb04ea3cc98b64207
parent3a3ee77682c327996d3c590c038b82ca96fa73b8
bhyve: hooks: improve process start error handling

When the virBhyveProcessStart() fails early, make sure to execute
the "stopped" and "release" hooks.

Spotted while running TCK hooks tests against the bhyve driver.

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/bhyve/bhyve_process.c