Hi This series make: - all block *_create() functions return -errno instead of -1 - this makes that we can end writting errno/error at bdrv_create() callers (qemu-img) - once there found a double free problem in the error handling of vmdk, fixed it. - slirp: also check that system() was able to fork (amit noticed it) - daemonize: if we are unable to write into the pipe, print a message and exit. We can't really recover from that error (amit noticed it).
Please review and apply. Later, Juan. Juan Quintela (10): cow: return errno instead of -1 slirp: check system() success qcow2: return errno instead of -1 qcow: return errno instead of -1 vmdk: return errno instead of -1 vl: exit if we are not able to write into the pipe vmdk: make vmdk_snapshot_create return -errno vmdk: fix double free vmdk: share cleanup code block: print errno on error block/cow.c | 5 +-- block/qcow.c | 8 ++-- block/qcow2.c | 18 +++++----- block/vmdk.c | 106 +++++++++++++++++++++++++++++++++++++-------------------- net/slirp.c | 2 +- qemu-img.c | 4 +- vl.c | 1 + 7 files changed, 88 insertions(+), 56 deletions(-)