[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 00/10] FORTIFY_SOURCE followup
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH v2 00/10] FORTIFY_SOURCE followup |
Date: |
Thu, 4 Mar 2010 10:00:29 +0100 |
Hi
Series updated with yesterday comments
v2:
- drop un-needed slirp exit() patch (kevin)
- add qemu_write_full() documentation (danp)
- use strerror(-errno) (kevin, pbonzini)
Please review and apply.
Later, Juan.
v1:
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).
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
vmdk: make vmdk_snapshot_create return -errno
vmdk: fix double free
vmdk: share cleanup code
block: print errno on error
documentation: qemu_write_full don't work with non-blocking fd's
block/cow.c | 5 +--
block/qcow.c | 8 ++--
block/qcow2.c | 18 +++++-----
block/vmdk.c | 106 +++++++++++++++++++++++++++++++++++++--------------------
net/slirp.c | 2 +-
osdep.c | 5 +++
qemu-img.c | 4 +-
7 files changed, 92 insertions(+), 56 deletions(-)
- [Qemu-devel] [PATCH v2 00/10] FORTIFY_SOURCE followup,
Juan Quintela <=
- [Qemu-devel] [PATCH 03/10] qcow2: return errno instead of -1, Juan Quintela, 2010/03/04
- [Qemu-devel] [PATCH 02/10] slirp: check system() success, Juan Quintela, 2010/03/04
- [Qemu-devel] [PATCH 01/10] cow: return errno instead of -1, Juan Quintela, 2010/03/04
- [Qemu-devel] [PATCH 04/10] qcow: return errno instead of -1, Juan Quintela, 2010/03/04
- [Qemu-devel] [PATCH 05/10] vmdk: return errno instead of -1, Juan Quintela, 2010/03/04
- [Qemu-devel] [PATCH 06/10] vmdk: make vmdk_snapshot_create return -errno, Juan Quintela, 2010/03/04
- [Qemu-devel] [PATCH 07/10] vmdk: fix double free, Juan Quintela, 2010/03/04
- [Qemu-devel] [PATCH 08/10] vmdk: share cleanup code, Juan Quintela, 2010/03/04