]> Git Repo - qemu.git/commitdiff
m25p80: Add debug message for no bdrv
authorPeter Crosthwaite <[email protected]>
Tue, 16 Apr 2013 00:34:50 +0000 (10:34 +1000)
committerEdgar E. Iglesias <[email protected]>
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 <[email protected]>
Signed-off-by: Edgar E. Iglesias <[email protected]>
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);
     }
 
This page took 0.026862 seconds and 4 git commands to generate.