On 10/9/20 7:16 AM, Peter Maydell wrote:
>> ----------------------------------------------------------------
>> nbd patches for 2020-10-08
>>
>> - silence compilation warnings
>> - more fixes to prevent reconnect hangs
>> - improve 'qemu-nbd' termination behavior
>> - cleaner NBD protocol compliance on string handling
>
> Build failure, OSX, FreeBSD, NetBSD:
>
> Linking static target libqemuutil.a
> ../../qemu-nbd.c:591:29: error: use of undeclared identifier 'termsig_handler'
> sa_sigterm.sa_handler = termsig_handler;
> ^
I see it; inconsistent #ifdefs. Will spin v2 shortly.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org