]> git.proxmox.com Git - mirror_qemu.git/commitdiff
m25p80: Add debug message for no bdrv
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 16 Apr 2013 00:34:50 +0000 (10:34 +1000)
committerEdgar 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

index d853a2e93ba374a8214a888b6afda265d7d42106..efcc7f4c839b8b45bc73a578fc43369220a925cc 100644 (file)
@@ -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);
     }