[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 00/10] Modify block jobs to use node-names
From: |
Jeff Cody |
Subject: |
Re: [Qemu-devel] [PATCH v5 00/10] Modify block jobs to use node-names |
Date: |
Tue, 17 Jun 2014 08:25:59 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jun 17, 2014 at 06:19:13AM -0600, Eric Blake wrote:
> On 06/13/2014 12:52 PM, Jeff Cody wrote:
> > Changes from v4->v5:
> >
> > * Rebased on master
> > * Fixed commit log typos / stale paragraphs (Eric)
> > * Fixed comment typo (Eric)
> > * Added Eric's remaining R-b's
> >
>
> On IRC, we found another bug that needs repairing:
>
> # cd /tmp
> # echo tmp > tmp
> # qemu-kvm -qmp stdio -drive file=/tmp/tmp
> {"QMP": {"version": {"qemu": {"micro": 50, "minor": 0, "major": 2},
> "package": ""}, "capabilities": []}}
> {"execute":"qmp_capabilities"}
> {"return": {}}
> {"execute":"block-commit","arguments":{"device":"ide0-hd0"}}
> {"return": {}}
> {"timestamp": {"seconds": 1402972048, "microseconds": 153175}, "event":
> "BLOCK_JOB_READY", "data": {"device": "ide0-hd0", "len": 512, "offset":
> 512, "speed": 0, "type": "commit"}}
> {"execute":"block-job-complete","arguments":{"device":"ide0-hd0"}}
> {"return": {}}
> qemu-system-x86_64: block.c:2034: bdrv_swap: Assertion
> `bs_new->device_name[0] == '\0'' failed.
> Aborted (core dumped)
>
> Attempts to commit-to-self should be rejected at block-commit time,
> rather than causing an assertion failure down the road.
>
Thanks... spinning a v6 to prevent this scenario.
- [Qemu-devel] [PATCH v5 04/10] block: make 'top' argument to block-commit optional, (continued)
- [Qemu-devel] [PATCH v5 04/10] block: make 'top' argument to block-commit optional, Jeff Cody, 2014/06/13
- [Qemu-devel] [PATCH v5 06/10] block: extend block-commit to accept a string for the backing file, Jeff Cody, 2014/06/13
- [Qemu-devel] [PATCH v5 05/10] block: Accept node-name arguments for block-commit, Jeff Cody, 2014/06/13
- [Qemu-devel] [PATCH v5 07/10] block: add ability for block-stream to use node-name, Jeff Cody, 2014/06/13
- [Qemu-devel] [PATCH v5 08/10] block: add backing-file option to block-stream, Jeff Cody, 2014/06/13
- [Qemu-devel] [PATCH v5 09/10] block: Add QMP documentation for block-stream, Jeff Cody, 2014/06/13
- [Qemu-devel] [PATCH v5 10/10] block: add QAPI command to allow live backing file change, Jeff Cody, 2014/06/13
- Re: [Qemu-devel] [PATCH v5 00/10] Modify block jobs to use node-names, Eric Blake, 2014/06/17