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

Eric Blake eblake at redhat.com
Mon Dec 20 21:12:06 UTC 2010


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 at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101220/3da6ebc0/attachment-0001.sig>


More information about the libvir-list mailing list