diff options
| author | Fam Zheng | 2016-09-21 06:27:22 +0200 |
|---|---|---|
| committer | Fam Zheng | 2016-09-23 05:42:52 +0200 |
| commit | 9c5ce8db2e5c2769ed2fd3d91928dd1853b5ce7c (patch) | |
| tree | c7fc6da1885972db475b47cbc169ebc8d7b058a6 /ui | |
| parent | configure: Remove detection code for UUID (diff) | |
| download | qemu-9c5ce8db2e5c2769ed2fd3d91928dd1853b5ce7c.tar.gz qemu-9c5ce8db2e5c2769ed2fd3d91928dd1853b5ce7c.tar.xz qemu-9c5ce8db2e5c2769ed2fd3d91928dd1853b5ce7c.zip | |
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>
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/spice-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/spice-core.c b/ui/spice-core.c index da0505434a..1452e77fd1 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -796,7 +796,7 @@ void qemu_spice_init(void) qemu_opt_foreach(opts, add_channel, &tls_port, NULL); spice_server_set_name(spice_server, qemu_name); - spice_server_set_uuid(spice_server, qemu_uuid); + spice_server_set_uuid(spice_server, (unsigned char *)&qemu_uuid); seamless_migration = qemu_opt_get_bool(opts, "seamless-migration", 0); spice_server_set_seamless_migration(spice_server, seamless_migration); |
