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

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

 



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.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]