Hi I am trying to clone a Virtual Machine usind C/C++ as a programming language and VIX API call which is
VixHandle VixVM_Clone(VixHandle vmHandle,
VixHandle snapshotHandle,
VixCloneType cloneType,
const char *destConfigPathName,
int options,
VixHandle propertyListHandle,
VixEventProc *callbackProc,
void *clientData);
But I am getting the error code 6 which is VIX_E_NOT_SUPPORTED and the VIX_PROPERTY_JOB_RESULT_HANDLE is showing 3010 which is VIX_E_NO_GUEST_OS_INSTALLED .
I first connected to the VM, then open the VM and then tried to Clone. When trying to clone I am getting the error which is Operation Not Supported.The VM I am trying to Clone is not running i.e., it is powerd off state.
I also tried to Clone using the vmrun but same results.
Can you please help me. Thanks a lot!
VixVM_Clone() is currently only supported with VMware Workstation. It is not supported when used against VMware Server or vSphere.
The destConfigPathName I specified = [[datastore]]clonename/clonename.vmx
VixVM_Clone() is currently only supported with VMware Workstation. It is not supported when used against VMware Server or vSphere.
Hi Matt,
Thanks for your quick response. Any ideas when it's going to be supported for VMWareServer or vSphere.
Thanks a lot!