[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 4/8] Use libuuid if available.
From: |
Tomas Carnecky |
Subject: |
Re: [Qemu-devel] [PATCH v4 4/8] Use libuuid if available. |
Date: |
Mon, 01 Sep 2008 17:15:21 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080731) |
Andreas Färber wrote:
>
> Am 01.09.2008 um 09:25 schrieb Gleb Natapov:
>
>> diff --git a/vl.c b/vl.c
>> index 6df0832..215ff7f 100644
>> --- a/vl.c
>> +++ b/vl.c
>> @@ -142,6 +142,11 @@ int inet_aton(const char *cp, struct in_addr *ia);
>>
>> #include "exec-all.h"
>>
>> +#ifdef CONFIG_UUID
>> +#include <uuid/uuid.h>
>> +static int generate_uuid;
>> +#endif
>> +
>> #define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
>> #define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
>> #ifdef __sun__
>
> Does C99 ensure that generate_uuid gets initialized to zero? Afaik in
> ANSI C it was undefined and needed an explicit assignment.
Newer C standards certainly do (post C89 ?)
tom
- [Qemu-devel] [PATCH v4 0/8] Add new firmware configuration mechanism, Gleb Natapov, 2008/09/01
- [Qemu-devel] [PATCH v4 2/8] Add -uuid command line option., Gleb Natapov, 2008/09/01
- [Qemu-devel] [PATCH v4 3/8] Add "info uuid" command to monitor., Gleb Natapov, 2008/09/01
- [Qemu-devel] [PATCH v4 4/8] Use libuuid if available., Gleb Natapov, 2008/09/01
- Re: [Qemu-devel] [PATCH v4 4/8] Use libuuid if available., Andreas Schwab, 2008/09/01
- Re: [Qemu-devel] [PATCH v4 4/8] Use libuuid if available., M. Warner Losh, 2008/09/01
[Qemu-devel] [PATCH v4 5/8] Add UUID to firmware configuration info., Gleb Natapov, 2008/09/01
[Qemu-devel] [PATCH v4 6/8] Pass cpu speed into SM BIOS., Gleb Natapov, 2008/09/01
[Qemu-devel] [PATCH v4 7/8] Add common keys to firmware configuration, Gleb Natapov, 2008/09/01
[Qemu-devel] [PATCH v4 8/8] Add sparc keys to firmware configuration., Gleb Natapov, 2008/09/01