]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
vl: Switch qemu_uuid to QemuUUID
authorFam Zheng <famz@redhat.com>
Wed, 21 Sep 2016 04:27:22 +0000 (12:27 +0800)
committerFam Zheng <famz@redhat.com>
Fri, 23 Sep 2016 03:42:52 +0000 (11:42 +0800)
commit9c5ce8db2e5c2769ed2fd3d91928dd1853b5ce7c
treec7fc6da1885972db475b47cbc169ebc8d7b058a6
parent315d3184525c90865bf5e1ec4db5e633f1d8c7e8
vl: Switch qemu_uuid to QemuUUID

Update all qemu_uuid users as well, especially get rid of the duplicated
low level g_strdup_printf, sscanf and snprintf calls with QEMU UUID API.

Since qemu_uuid_parse is quite tangled with qemu_uuid, its switching to
QemuUUID is done here too to keep everything in sync and avoid code
churn.

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-10-git-send-email-famz@redhat.com>
12 files changed:
hw/ipmi/ipmi_bmc_sim.c
hw/nvram/fw_cfg.c
hw/ppc/spapr.c
hw/ppc/spapr_rtas.c
hw/smbios/smbios.c
hw/xenpv/xen_domainbuild.c
include/qemu/uuid.h
include/sysemu/sysemu.h
qmp.c
ui/spice-core.c
util/uuid.c
vl.c