qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/5] Use libuuid if available.


From: Gleb Natapov
Subject: Re: [Qemu-devel] [PATCH 4/5] Use libuuid if available.
Date: Thu, 5 Jun 2008 23:20:24 +0300

Anthony, thanks for the review.

On Thu, Jun 05, 2008 at 10:18:15AM -0500, Anthony Liguori wrote:
>> @@ -256,8 +260,14 @@ static void do_info_name(void)
>>   static void do_info_uuid(void)
>>  {
>> +#ifdef CONFIG_UUID
>> +    char uuid_str[37];
>> +    uuid_unparse(qemu_uuid, uuid_str);
>> +    term_printf("%s\n", uuid_str);
>> +#else
>>   
>
> Just use a printf() string here again to eliminate the need for CONFIG_UUID.
>
So may be do not use libuuid at all and just write simple uuid string
parsing function?

--
                        Gleb.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]