]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Fall back to path as key when QueryVirtualDiskUuid isn't available
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 3 Sep 2010 23:30:04 +0000 (01:30 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 7 Sep 2010 17:46:07 +0000 (19:46 +0200)
commit8fdb0b0c8492d477f2d04b0867542bbf581a7783
tree609edfe6ccebd9d8c159dc0d3d261a7dafe18ee7
parentaf32c355c3e357fddbd17f2b72302d5b05bb05df
esx: Fall back to path as key when QueryVirtualDiskUuid isn't available

QueryVirtualDiskUuid is only available on an ESX(i) server. vCenter
returns an NotImplemented fault and a GSX server is missing the
VirtualDiskManager completely. Therefore only use QueryVirtualDiskUuid
with an ESX(i) server and fall back to path as storage volume key for
vCenter and GSX server.
src/esx/esx_storage_driver.c
src/esx/esx_vi.c
src/esx/esx_vi.h