vdi: Use QEMU UUID API
commit7c6f55b69714a0cb9fdf5a80f0c23e87127e01a8
authorFam Zheng <famz@redhat.com>
Wed, 21 Sep 2016 04:27:17 +0000 (21 12:27 +0800)
committerFam Zheng <famz@redhat.com>
Fri, 23 Sep 2016 03:42:52 +0000 (23 11:42 +0800)
tree5e94e06a055c5355683a81386b14b38ed737a60a
parentcb6414dfec8a308e68529b0fd2a454403c05bbb3
vdi: Use QEMU UUID API

The UUID operations we need from libuuid are fully supported by QEMU UUID
implementation. Use it, and remove the unused code.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Message-Id: <1474432046-325-5-git-send-email-famz@redhat.com>
block/vdi.c