mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
Fix QCOW2 debugging code to compile again
Updated to use C99 comments. Signed-off-by: Filip Navara <filip.navara@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
bf011293fa
commit
14899cdf3a
3 changed files with 8 additions and 8 deletions
|
@ -44,10 +44,6 @@
|
|||
- L2 tables have always a size of one cluster.
|
||||
*/
|
||||
|
||||
//#define DEBUG_ALLOC
|
||||
//#define DEBUG_ALLOC2
|
||||
//#define DEBUG_EXT
|
||||
|
||||
|
||||
typedef struct {
|
||||
uint32_t magic;
|
||||
|
@ -251,7 +247,7 @@ static int qcow_open(BlockDriverState *bs, const char *filename, int flags)
|
|||
goto fail;
|
||||
|
||||
#ifdef DEBUG_ALLOC
|
||||
check_refcounts(bs);
|
||||
qcow2_check_refcounts(bs);
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue