Re: [Qemu-devel] [PATCH v2 3/4] block: Catch duplicate IDs in bdrv_new()

2014-04-22 Thread Kevin Wolf
Am 21.04.2014 um 17:01 hat Eric Blake geschrieben: > On 04/17/2014 09:48 AM, Kevin Wolf wrote: > > Since commit f298d071, block devices added with blockdev-add don't have > > a QemuOpts around in dinfo->opts. Consequently, we can't rely any more > > on QemuOpts catching duplicate IDs for block devi

Re: [Qemu-devel] [PATCH v2 3/4] block: Catch duplicate IDs in bdrv_new()

2014-04-21 Thread Eric Blake
On 04/17/2014 09:48 AM, Kevin Wolf wrote: > Since commit f298d071, block devices added with blockdev-add don't have > a QemuOpts around in dinfo->opts. Consequently, we can't rely any more > on QemuOpts catching duplicate IDs for block devices. > > This patch add a new check for duplicate IDs to b

Re: [Qemu-devel] [PATCH v2 3/4] block: Catch duplicate IDs in bdrv_new()

2014-04-20 Thread Fam Zheng
On Thu, 04/17 17:48, Kevin Wolf wrote: > Since commit f298d071, block devices added with blockdev-add don't have > a QemuOpts around in dinfo->opts. Consequently, we can't rely any more > on QemuOpts catching duplicate IDs for block devices. > > This patch add a new check for duplicate IDs to bdrv

[Qemu-devel] [PATCH v2 3/4] block: Catch duplicate IDs in bdrv_new()

2014-04-17 Thread Kevin Wolf
Since commit f298d071, block devices added with blockdev-add don't have a QemuOpts around in dinfo->opts. Consequently, we can't rely any more on QemuOpts catching duplicate IDs for block devices. This patch add a new check for duplicate IDs to bdrv_new(), and moves the existing check that the ID