Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-27 Thread Jes Sorensen
On 01/24/11 15:50, Chunqiang Tang wrote: I think the root of the problem is that your series didn't maintain bisectability. IOW, each patch needs to be able to be applied one at a time such that at each point, the build doesn't break and functionality doesn't break. Otherwise, tools like

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-24 Thread Chunqiang Tang
I think the root of the problem is that your series didn't maintain bisectability. IOW, each patch needs to be able to be applied one at a time such that at each point, the build doesn't break and functionality doesn't break. Otherwise, tools like git bisect don't work. This was true

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-24 Thread Chunqiang Tang
On 20 January 2011 17:08, Stefan Weil w...@mail.berlios.de wrote: Yes, that's a problem with some parts of the old code. For files which you want to modify, you could remove the spaces with your script before applying your other modifications and create a separate patch which only

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-23 Thread Anthony Liguori
On 01/21/2011 08:51 PM, Chunqiang Tang wrote: -void qemu_bh_schedule(QEMUBH *bh) -{ -bh-cb(bh-opaque); -} - -void qemu_bh_cancel(QEMUBH *bh) -{ -} - -void qemu_bh_delete(QEMUBH *bh) -{ -qemu_free(bh); -} - int qemu_set_fd_handler2(int fd, IOCanReadHandler

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-22 Thread Peter Maydell
On 20 January 2011 17:08, Stefan Weil w...@mail.berlios.de wrote: Yes, that's a problem with some parts of the old code. For files which you want to modify, you could remove the spaces with your script before applying your other modifications and create a separate patch which only removes the

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-21 Thread Anthony Liguori
On 01/19/2011 04:04 PM, Chunqiang Tang wrote: Part 1 of the block device driver for the proposed FVD image format. Multiple patches are used in order to manage the size of each patch. This patch includes existing files that are modified by FVD. See the related discussions at

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-21 Thread Chunqiang Tang
-void qemu_bh_schedule(QEMUBH *bh) -{ -bh-cb(bh-opaque); -} - -void qemu_bh_cancel(QEMUBH *bh) -{ -} - -void qemu_bh_delete(QEMUBH *bh) -{ -qemu_free(bh); -} - int qemu_set_fd_handler2(int fd, IOCanReadHandler *fd_read_poll,

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-20 Thread Christoph Hellwig
On Wed, Jan 19, 2011 at 05:04:44PM -0500, Chunqiang Tang wrote: Part 1 of the block device driver for the proposed FVD image format. Multiple patches are used in order to manage the size of each patch. This patch includes existing files that are modified by FVD. Please try to split the patches

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-20 Thread Chunqiang Tang
Please try to split the patches into logical parts, and use descriptive subject lines for each patch. E.g. adding the new sim command to qemu-io could be one patch, adding the img_update (why not just update?) command to qemu-img another, moving code into qemu-tool-time.c one more, etc. Will

Re: [Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-20 Thread Stefan Weil
Am 20.01.2011 15:49, schrieb Chunqiang Tang: Please try to split the patches into logical parts, and use descriptive subject lines for each patch. E.g. adding the new sim command to qemu-io could be one patch, adding the img_update (why not just update?) command to qemu-img another, moving code

[Qemu-devel] [PATCH 1/5] Fast Virtual Disk (FVD) Proposal Part 1

2011-01-19 Thread Chunqiang Tang
Part 1 of the block device driver for the proposed FVD image format. Multiple patches are used in order to manage the size of each patch. This patch includes existing files that are modified by FVD. See the related discussions at http://lists.gnu.org/archive/html/qemu-devel/2011-01/msg00426.html