[libvirt] ESX: Check if a datastore is accessible before accessing its URL property

Matthias Bolte matthias.bolte at googlemail.com
Wed Sep 16 16:59:32 UTC 2009


An inaccessible datastore has no valid URL property.

* src/esx/esx_vi.c: esxVI_LookupDatastoreByName(): check if datastore is
  accessible before accessing its URL property
* src/esx/esx_vmx.c: update to changed datastore properties

PS: This patch has to be applied after the 12er patch series.

Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: esx_handle_inaccessible_datastores.diff
Type: text/x-diff
Size: 5776 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090916/89c1edc7/attachment-0001.bin>


More information about the libvir-list mailing list