from my own experience, I spotted that libvirt, when interfaced with vmware always attempt to issue soft reboots for destroy action (as you can see from CL). Whereas it appears that they are likely to fail. Switching to hard shutdown works.
As you can't fix libvirt (unless you want), I'd recommend you use a boostrap script for this, that switch soft to hard.

As for example: http://www.pschweitzer.fr/?p=22#more-22

With my best regards,
Pierre Schweitzer

On 01/24/2013 05:07 PM, varun bhatnagar wrote:

I have started one node through libvirt API using its start method. I am trying to stop that node using the destroy method provided by the API but I am not able to do so. Instead, I am getting one message saying:

libvir: error: internal error Child process (vmrun -T player stop /root/test_folder/myImage.vmx soft) unexpected exit status 255

Can anybody tell me why I am not able to stop the node.

Thanks in advance. :)

libvirt-users mailing list