On Thu, 29 Oct 2026 at 17:57, Stephen Hemminger
<[email protected]> wrote:
>
> destroy_device() waits for the worker lcore to ack device removal.
> Since the signal handler rework, the workers exit before the vhost
> drivers are unregistered, so the destroy callback spins forever.
>
> Maing thread now blocks SIGINT and SIGTERM and uses sigwait
> to wait for one of these signals. Then unregisters and tells
> worker threads to stop.
>
> Bugzilla ID: 2071
> Fixes: 5ffa8fafcbd3 ("examples/vhost: make signal handler safe")
> Cc: [email protected]
>
> Reported-by: Yu Jiang <[email protected]>
> Signed-off-by: Stephen Hemminger <[email protected]>
> Tested-by: Yu Jiang <[email protected]>

Applied, thanks.


-- 
David Marchand

Reply via email to