VixHost_UnregisterVM() Hangs after Failure to Open Virtual Machine
Details
A failure to open a virtual machine with the VixVM_Open()
function can result in the client hanging. If VixVM_Open()
fails, a subsequent call to the function VixHost_UnregisterVM()
can fail to return. You may attempt to call VixHost_RegisterVM()
after VixHost_Open()
fails.
You may attempt RegisterVM()
after VM_Open()
fails. If the VMX path refers to an existing VMX file, then RegisterVM()
will be successful and you can use the virtual machine. If RegisterVM()
is unsuccessful, do not use the virtual machine.
Solution
This is a known issue in the Programming API for VMware Server 1.0.