projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28097d0
)
m25p80: Add debug message for no bdrv
author
Peter Crosthwaite
<peter.crosthwaite@xilinx.com>
Tue, 16 Apr 2013 00:34:50 +0000
(10:34 +1000)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Tue, 16 Apr 2013 08:25:34 +0000
(10:25 +0200)
If there is no backing bdrv, let the debugging developer know about it.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/block/m25p80.c
patch
|
blob
|
history
diff --git
a/hw/block/m25p80.c
b/hw/block/m25p80.c
index d853a2e93ba374a8214a888b6afda265d7d42106..efcc7f4c839b8b45bc73a578fc43369220a925cc 100644
(file)
--- a/
hw/block/m25p80.c
+++ b/
hw/block/m25p80.c
@@
-606,6
+606,7
@@
static int m25p80_init(SSISlave *ss)
return 1;
}
} else {
+ DB_PRINT_L(0, "No BDRV - binding to RAM\n");
memset(s->storage, 0xFF, s->size);
}