Re: [Qemu-devel] [PATCH v3 8/9] vl: Switch qemu_uuid to QemuUUID

2016-08-09 Thread Jeff Cody
On Wed, Aug 10, 2016 at 09:28:56AM +0800, Fam Zheng wrote: > On Tue, 08/09 17:45, Jeff Cody wrote: > > > diff --git a/util/uuid.c b/util/uuid.c > > > index 80c89f0..5d8bc88 100644 > > > --- a/util/uuid.c > > > +++ b/util/uuid.c > > > @@ -61,18 +61,19 @@ char *qemu_uuid_unparse_strdup(const QemuUUID

Re: [Qemu-devel] [PATCH v3 8/9] vl: Switch qemu_uuid to QemuUUID

2016-08-09 Thread Fam Zheng
On Tue, 08/09 17:45, Jeff Cody wrote: > > diff --git a/util/uuid.c b/util/uuid.c > > index 80c89f0..5d8bc88 100644 > > --- a/util/uuid.c > > +++ b/util/uuid.c > > @@ -61,18 +61,19 @@ char *qemu_uuid_unparse_strdup(const QemuUUID *uuid) > > uu[13], uu[14], uu[15]); > > }

Re: [Qemu-devel] [PATCH v3 8/9] vl: Switch qemu_uuid to QemuUUID

2016-08-09 Thread Jeff Cody
On Tue, Aug 09, 2016 at 02:50:06PM +0800, Fam Zheng wrote: > 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, it's switching to > QemuUUID i

[Qemu-devel] [PATCH v3 8/9] vl: Switch qemu_uuid to QemuUUID

2016-08-08 Thread Fam Zheng
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, it's switching to QemuUUID is done here too to keep everything in sync and avoid code churn. Sig