[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 5/7] blockdev-test: add test case for drive_a
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v3 5/7] blockdev-test: add test case for drive_add duplicate IDs |
Date: |
Tue, 05 Nov 2013 04:57:45 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 10/30/2013 07:54 AM, Stefan Hajnoczi wrote:
> The following should work:
>
> (qemu) drive_add if=none,id=drive0
> (qemu) drive_del drive0
> (qemu) drive_add if=none,id=drive0
>
> Previous versions of QEMU produced a duplicate ID error because
> drive_add leaked the options.
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
> tests/Makefile | 2 ++
> tests/blockdev-test.c | 59
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 61 insertions(+)
> create mode 100644 tests/blockdev-test.c
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH v3 5/7] blockdev-test: add test case for drive_add duplicate IDs,
Eric Blake <=