Re: [libvirt] [PATCH 2/7] VMware ESX: Make esxVI_GetVirtualMachineIdentity() more robust

2009-09-04 Thread Daniel Veillard
On Thu, Sep 03, 2009 at 06:44:59PM +0200, Matthias Bolte wrote: > Check the config status before requesting config subelements > > * src/esx/esx_driver.c: add configStatus to the requested properties > to check it in esxVI_GetVirtualMachineIdentity() > * src/esx/esx_vi.[ch]: add esxVI_GetManaged

[libvirt] [PATCH 2/7] VMware ESX: Make esxVI_GetVirtualMachineIdentity() more robust

2009-09-03 Thread Matthias Bolte
Check the config status before requesting config subelements * src/esx/esx_driver.c: add configStatus to the requested properties to check it in esxVI_GetVirtualMachineIdentity() * src/esx/esx_vi.[ch]: add esxVI_GetManagedEntityStatus() and use it in esxVI_GetVirtualMachineIdentity() * src/esx