[libvirt] [PATCH] esx: Fix cluster resource lookup when connecting to a vCenter
Matthias Bolte
matthias.bolte at googlemail.com
Tue Dec 21 21:44:37 UTC 2010
2010/12/20 Eric Blake <eblake at redhat.com>:
> 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.
>
Thanks, pushed.
Matthias
More information about the libvir-list
mailing list