projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f85e02
)
Revert "blockdev: bug fix for multiple sdcard attachment with same ID"
author
ChulHo Song
<ch81.song@samsung.com>
Wed, 30 Sep 2015 04:26:30 +0000
(13:26 +0900)
committer
ChulHo Song
<ch81.song@samsung.com>
Wed, 30 Sep 2015 04:26:41 +0000
(13:26 +0900)
This reverts commit
0e218af5119f14fb3172097833e1851bc32be73e
.
Change-Id: Idde0232cd4533bb04f001d9c5ef581e578e1ca03
Signed-off-by: ChulHo Song <ch81.song@samsung.com>
block/block-backend.c
patch
|
blob
|
history
diff --git
a/block/block-backend.c
b/block/block-backend.c
index
356a92a
..
d0692b1
100644
(file)
--- a/
block/block-backend.c
+++ b/
block/block-backend.c
@@
-54,8
+54,8
@@
BlockBackend *blk_new(const char *name, Error **errp)
return NULL;
}
if (blk_by_name(name)) {
-
//
error_setg(errp, "Device with id '%s' already exists", name);
- return
blk_by_name(name)
;
+ error_setg(errp, "Device with id '%s' already exists", name);
+ return
NULL
;
}
if (bdrv_find_node(name)) {
error_setg(errp,