Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread ROHIT SINGH
Thanks Martin, so is it like for configuration we must be using xml. Also, could you please point me to any sample code to power on and off a vm. Thanks for help!! Regards Rohit Singh On Wed, 12 Dec 2018 at 3:30 PM, Martin Kletzander wrote: > On Wed, Dec 12, 2018 at 03:03:41PM +0530, ROHIT SIN

Re: [libvirt-users] Usable and non-usable CPU models in nested virtualization

2018-12-12 Thread Milan Zamazal
Thank you for explanation, it's clear to me now. One last question: Is there a way to get supported compatibility modes on POWER? For instance, I get the following from domcapabilities on a POWER9 machine: POWER9 IBM How can I find out that POWER8 guests ar

Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread Martin Kletzander
On Wed, Dec 12, 2018 at 03:03:41PM +0530, ROHIT SINGH wrote: Thanks Martin, It’s working now. Could you please help me with role of xml in libvirt api and what if I don’t want use of xml in my code. Please let me know. Libvirt uses XML for most of the APIs. Depends what you need to do you can

Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread ROHIT SINGH
Thanks Martin, It’s working now. Could you please help me with role of xml in libvirt api and what if I don’t want use of xml in my code. Please let me know. Thanks for help!! Regards Rohit Singh On Thu, 6 Dec 2018 at 11:24 PM, ROHIT SINGH wrote: > Thanks Martin for help. I will give it a shot