]> git.proxmox.com Git - mirror_qemu.git/commit
raw-posix: DPRINTF instead of DEBUG_BLOCK_PRINT
authorDimitris Aragiorgis <dimara@arrikto.com>
Tue, 23 Jun 2015 10:44:58 +0000 (13:44 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 23 Jun 2015 14:08:52 +0000 (15:08 +0100)
commitbcb225550dcc0d6fcef8e97012bae572ba78f73a
treee4e2d14f8ff549ed41ac5c4bbc8ef5aa99c7c3c0
parent1b6bc94d5d43ff3e39abadae19f2dbcb0954eb93
raw-posix: DPRINTF instead of DEBUG_BLOCK_PRINT

Building the QEMU tools fails if we #define DEBUG_BLOCK inside
block/raw-posix.c. Here instead of adding qemu-log.o in block-obj-y
so that DEBUG_BLOCK_PRINT can be used, we substitute the latter with
a simple DPRINTF() (that does not cause bit-rot).

Signed-off-by: Dimitris Aragiorgis <dimara@arrikto.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435056300-14924-4-git-send-email-dimara@arrikto.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/raw-posix.c