Ok. I'm really not sure what to think with all of this, but it's incredibly infuriating.
1. A VIX client won't compile using the wrapper because it's looking for __ctype_b which isn't on my Ubuntu system. Bad. Worse because of #2.
2. There's two libvix.so files, depending on whether I'm connecting to Workstation or Server -- which means that I can't have a single program that connects to either Workstation or Server -- I have to link twice (once for Workstation, once for Server). Bad.
3. VixHost_FindItems works ONLY if I specify VIX_FIND_RUNNING_ITEMS even if I'm connecting to Server. I get the ever-so-helpful "One of the parameters was invalid" if I use VIX_FIND_REGISTERED_ITEMS instead. Statically linking with libvix.so for workstation puts me in an infinite loop on connect, so I can't tell if it's just a problem with the libvix.so for Server. Very Bad.
I need to collect the list of VMs that are currently registered to a VMware Server. I can't do this when following the instructions in the documentation. I smell a whole raft of bugs, because the local-link API should be smart enough to handle this.
Why oh why can't this be easy ... you know, like the SOAP API for ESX? (And yes, compared to the sort of problems that I'm seeing with VIX, the ESX SOAP API is easy.)
Vix API 1.1 does not add any new functionality for use with VMware Server. Currently, we recommend that you do not upgrade to Vix 1.1 if you are using VMware Server.
The wrapper is intended allow you to write code that works against either Workstation or Server. But as you point out, the 32bit Linux wrapper was built for old versions of glibc (known bug). On Windows and 64bit Linux, the wrapper will work, but you need to use the value '1' for the apiVersion argument to VixHost_Connect().
VIX_FIND_REGISTERED_VMS is not supported in server 1.0, and does not apply to Workstation.
We understand this has created real frustration, and apologize for any inconvience and confusion. We are working to fix these issues as quickly as possible.
Do you have an exact need to know whats been registered?
If you pass a register_vm to a vmx that is already registered, it appears to just ignore the message on server.
I have an exact need to get a listing of registered virtual machines.
I am not going to be programmatically registering VMs; I am going to be manipulating VMs that are already registered.
-austin
