]> git.proxmox.com Git - mirror_qemu.git/commit
vdi: Fix build with CONFIG_VDI_DEBUG
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Mar 2018 13:41:53 +0000 (14:41 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 26 Mar 2018 10:16:12 +0000 (12:16 +0200)
commit95a14d51b24ea8adeb5d863517727916fee63f05
treed9469d0e4c1dbe0678a180d3f67d4e504e9aac2d
parent61fa64871dcd823633aac129762d424a8a19e6ee
vdi: Fix build with CONFIG_VDI_DEBUG

Use qemu_uuid_unparse() instead of uuid_unparse() to make vdi.c compile
again when CONFIG_VDI_DEBUG is set. In order to prevent future bitrot,
replace '#ifdef CONFIG_VDI_DEBUG' by 'if (VDI_DEBUG)' so that the
compiler always sees the code.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/vdi.c