Re: [Qemu-devel] [PATCH v6 1/9] util: Add UUID API

2016-09-17 Thread Fam Zheng
On Sat, 09/17 16:29, Eric Blake wrote: > On 08/17/2016 02:28 AM, Fam Zheng wrote: > > A number of different places across the code base use CONFIG_UUID. Some > > of them are soft dependency, some are not built if libuuid is not > > available, some come with dummy fallback, some throws runtime

Re: [Qemu-devel] [PATCH v6 1/9] util: Add UUID API

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > A number of different places across the code base use CONFIG_UUID. Some > of them are soft dependency, some are not built if libuuid is not > available, some come with dummy fallback, some throws runtime error. > > It is hard to maintain, and hard to

[Qemu-devel] [PATCH v6 1/9] util: Add UUID API

2016-08-17 Thread Fam Zheng
A number of different places across the code base use CONFIG_UUID. Some of them are soft dependency, some are not built if libuuid is not available, some come with dummy fallback, some throws runtime error. It is hard to maintain, and hard to reason for users. Since UUID is a simple standard