]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ESX: Check if a datastore is accessible first
authorMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 23 Sep 2009 13:08:25 +0000 (15:08 +0200)
committerDaniel Veillard <veillard@redhat.com>
Wed, 23 Sep 2009 13:08:25 +0000 (15:08 +0200)
commitb167672c748bd7d16cd5f450096232266583b851
tree37d9ed670445280c1453e338d28f643de73d2d5f
parent23b2497292db30cf61cb89f2b7a9ab3b7623ff74
ESX: Check if a datastore is accessible first

An inaccessible datastore has no valid URL property so don't
access its URI 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
src/esx/esx_vi.c
src/esx/esx_vmx.c