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

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

 



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