Re: [libvirt-users] not able to stop vmware player node through libvirt API

2013-01-28 Thread Pierre Schweitzer
Unfortunately, I did not find any other suitable solution. I would have thought that: virDomainDestroyFlags(domain, VIR_DOMAIN_DESTROY_GRACEFUL) => issues a soft shutdown virDomainDestroyFlags(domain, VIR_DOMAIN_DESTROY_DEFAULT) => issues a hard shutdown But it appears that you always have a s

Re: [libvirt-users] not able to stop vmware player node through libvirt API

2013-01-28 Thread Varun Bhatnagar
Hi Pierre, Thanks for the suggestion. :) But is there any other method from which we can do hard reboot? This seems little confusing to me :( ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/lib

Re: [libvirt-users] not able to stop vmware player node through libvirt API

2013-01-24 Thread Pierre Schweitzer
Hi, 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 r

[libvirt-users] not able to stop vmware player node through libvirt API

2013-01-24 Thread varun bhatnagar
Hi, 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_