qemu-nbd -c is another casualty of removing raw_read/raw_write. This series fixes it.
Unfortunately, as a side effect of this qemu-nbd will have to daemonize before detecting all possible errors. For this reason patches 2 and 3 make qemu-nbd write errors to syslog when daemonized. Paolo Bonzini (4): qemu-nbd: exit if the child exits before a socket connection is established qemu-nbd: include our own err/errx implementation qemu-nbd: report errors to syslog when daemonized qemu-nbd: do not start the block layer in the parent qemu-nbd.c | 78 +++++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 59 insertions(+), 19 deletions(-) -- 1.7.6.4