commit | 7ceeedd016facf8d58e14a0d1417fa7225d71072 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Wed Oct 30 14:54:34 2013 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Thu Nov 07 13:58:58 2013 +0100 |
tree | 1573a83b68af23565ea6592a91945c707dfcba48 | |
parent | 0c460dac03e7919079525d8e24ef2c4c607c219d [diff] |
blockdev-test: add test case for drive_add duplicate IDs 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 <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>