Re: [PATCH] esx: Convert autoAnswer from esxVI_Boolean to a simple bool

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

 



2011/5/16 Eric Blake <eblake@xxxxxxxxxx>:
> On 05/01/2011 01:57 PM, Matthias Bolte wrote:
>> Just true/false is good enough for it. Also use it directly from the
>> parsed URI instead of caching it in esxPrivate.
>> ---
>> Âsrc/esx/esx_driver.c     |  52 ++++++++++++++++++++---------------------
>> Âsrc/esx/esx_private.h    Â|  Â1 -
>> Âsrc/esx/esx_storage_driver.c | Â 12 ++++++---
>> Âsrc/esx/esx_vi.c       |  15 +++++------
>> Âsrc/esx/esx_vi.h       |  Â8 +++---
>> Â5 files changed, 44 insertions(+), 44 deletions(-)
>>
>> +++ b/src/esx/esx_private.h
>> @@ -41,7 +41,6 @@ typedef struct _esxPrivate {
>> Â Â Âint32_t maxVcpus;
>> Â Â ÂesxVI_Boolean supportsVMotion;
>> Â Â ÂesxVI_Boolean supportsLongMode; /* aka x86_64 */
>> - Â ÂesxVI_Boolean autoAnswer;
>> Â Â Âint32_t usedCpuTimeCounterId;
>> Â} esxPrivate;
>>
>
>> +++ b/src/esx/esx_vi.c
>> @@ -2482,7 +2482,7 @@ int
>> ÂesxVI_LookupVirtualMachineByUuidAndPrepareForTask
>> Â Â(esxVI_Context *ctx, const unsigned char *uuid,
>> Â Â esxVI_String *propertyNameList, esxVI_ObjectContent **virtualMachine,
>> - Â esxVI_Boolean autoAnswer)
>> + Â bool autoAnswer)
>
> Everything else is fallout from these two categories of changes (more
> than one method signature affected, and lots of callers adjusted).
>
> ACK.
>

Thanks, pushed.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]