]> xenbits.xensource.com Git - libvirt.git/commit
esx: Make storage pool lookup by name and UUID more robust
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 1 Aug 2010 17:53:00 +0000 (19:53 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 2 Aug 2010 20:25:15 +0000 (22:25 +0200)
commit5254546bbab8bab858bff9851596d013e5166874
tree5c2579ad65f77bf43015ef335d1ba3c864a7d523
parente4938ce2f17a48ec3a0ed57369875aa7de640bb6
esx: Make storage pool lookup by name and UUID more robust

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
src/esx/esx_storage_driver.c
src/esx/esx_util.c
src/esx/esx_util.h
src/esx/esx_vi.c
src/esx/esx_vi.h
src/esx/esx_vi_generator.input
src/esx/esx_vi_generator.py
src/esx/esx_vmx.c
src/esx/esx_vmx.h
tests/esxutilstest.c