Re: [PATCH v2 2/3] nbd: skip SIGTERM handler if NBD device support is not built

2020-09-02 Thread Eric Blake
On 8/25/20 5:38 AM, Daniel P. Berrangé wrote: The termsig_handler function is used by the client thread handling the host NBD device connection to do a graceful shutdown. IOW, if we have disabled NBD device support at compile time, we don't need the SIGTERM handler. This fixes a build issue for

[PATCH v2 2/3] nbd: skip SIGTERM handler if NBD device support is not built

2020-08-25 Thread Daniel P . Berrangé
The termsig_handler function is used by the client thread handling the host NBD device connection to do a graceful shutdown. IOW, if we have disabled NBD device support at compile time, we don't need the SIGTERM handler. This fixes a build issue for Windows. Signed-off-by: Daniel P. Berrangé ---