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

Re: [libvirt] [PATCH] esx: Fix cluster resource lookup when connecting to a vCenter



On 12/20/2010 12:04 PM, Matthias Bolte wrote:
> Connecting to a ESX(i) server that is part of a cluster failed
> when the connection also involved a vCenter.
> 
> Accept ClusterComputeResource type in addition to ComputeResource
> type in the object lookup function.
> 
> Reported by Guillaume Le Lou√ęt.
> ---
>  src/esx/esx_vi.c |   13 ++++++++-----
>  1 files changed, 8 insertions(+), 5 deletions(-)
> 
> diff --git a/src/esx/esx_vi.c b/src/esx/esx_vi.c
> index 74a2a42..482a118 100644
> --- a/src/esx/esx_vi.c
> +++ b/src/esx/esx_vi.c
> @@ -538,7 +538,7 @@ esxVI_Context_LookupObjectsByPath(esxVI_Context *ctx,
>          goto cleanup;
>      }
>  
> -    /* Lookup ComputeResource */
> +    /* Lookup (Cluster)ComputeResource */

ACK.

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

Attachment: signature.asc
Description: OpenPGP digital signature


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