[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 3/4] block: Catch duplicate IDs in bdrv_new()
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v2 3/4] block: Catch duplicate IDs in bdrv_new() |
Date: |
Tue, 22 Apr 2014 12:02:01 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 devices.
> >
> > This patch add a new check for duplicate IDs to bdrv_new(), and moves the
> > existing check that the ID isn't already taken for a node-name there as
> > well.
> >
> > Signed-off-by: Kevin Wolf <address@hidden>
> > ---
> > block.c | 11 +++++++++++
> > blockdev.c | 6 ------
> > tests/qemu-iotests/087 | 33 +++++++++++++++++++++++++++++++++
> > tests/qemu-iotests/087.out | 13 +++++++++++++
> > 4 files changed, 57 insertions(+), 6 deletions(-)
>
> Modulo the commit message Fam pointed out...
> Reviewed-by: Eric Blake <address@hidden>
Thanks, I fixed that typo locally before I added your Reviewed-by.
Kevin
pgpaL53jZvkMz.pgp
Description: PGP signature