The following commit.. nbd: support feature negotiation
nbd supports writing flags in bytes 24...27 of the header, and uses that for the read-only flag. Add support for it in qemu-nbd. breaks the tree on what looks like anything but Linux. Besides the obvious issue.. nbd.c:443: error: conflicting types for 'nbd_init' nbd.h:71: error: previous declaration of 'nbd_init' was here The changing of #ifndef _WIN32 to #ifdef __linux__ in nbd.c also looks questionable to me. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.