Matthias Bolte | 2 Aug 2010 23:32

Re: [libvirt] [PATCH] esx: Make storage pool lookup by name and UUID more robust

2010/8/2 Daniel Veillard <veillard <at> redhat.com>:
> On Mon, Aug 02, 2010 at 01:25:12AM +0200, Matthias Bolte wrote:
>> Don't rely on summary.url anymore, because its value is different
>> between an esx:// and vpx:// connection. Use host.mountInfo.path
>> instead.
>>
>> Don't fallback to lookup by UUID (actually lookup by absolute path)
>> in esxVI_LookupDatastoreByName when lookup by name fails. Add a
>> seperate function for this: esxVI_LookupDatastoreByAbsolutePath
>> ---
>>  src/esx/esx_driver.c           |    8 +-
>>  src/esx/esx_storage_driver.c   |  107 ++++++++++++++------------
>>  src/esx/esx_util.c             |   22 +++---
>>  src/esx/esx_util.h             |    5 +-
>>  src/esx/esx_vi.c               |  171 ++++++++++++++++++++--------------------
>>  src/esx/esx_vi.h               |    6 ++
>>  src/esx/esx_vi_generator.input |   13 +++
>>  src/esx/esx_vi_generator.py    |    3 +-
>>  src/esx/esx_vmx.c              |   65 +++++++--------
>>  src/esx/esx_vmx.h              |    3 +-
>>  tests/esxutilstest.c           |   14 ++--
>>  11 files changed, 221 insertions(+), 196 deletions(-)
>>
>
>  ACK,
>
> Daniel
>

Thanks, pushed.

Matthias

--
libvir-list mailing list
libvir-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Gmane