We are already building the NBD client and server on Windows when it is used via the main system emulator binaries. This demonstrates there is no fundamental blocker to buildig the qemu-nbd binary too.
Changed in v2: - Split second patch into two parts - Use HAVE_NBD_DEVICE condition to disable SIGTERM handler not WIN32 Daniel P. Berrangé (3): block: add missing socket_init() calls to tools nbd: skip SIGTERM handler if NBD device support is not built nbd: disable signals and forking on Windows builds meson.build | 7 ++----- qemu-img.c | 2 ++ qemu-io.c | 2 ++ qemu-nbd.c | 11 ++++++++++- 4 files changed, 16 insertions(+), 6 deletions(-) -- 2.26.2