
Hi, I have some code that can probably be hacked into a libvirt driver for VMware ESX. Is there a template with stubs for all the necessary routines for the API that I can use as a starting point? -- Drew Einhorn

drew einhorn schreef:
I have some code that can probably be hacked into a libvirt driver for VMware ESX.
This shoulds cool :) I'm happy you will start this before I have to do it :) What approach will you take? Soap?
Is there a template with stubs for all the necessary routines for the API that I can use as a starting point?
I would take one of the existing drivers... but maybe there is a better way. Stefan

On Mon, May 19, 2008 at 02:28:10PM -0600, drew einhorn wrote:
Hi,
Hi,
I have some code that can probably be hacked into a libvirt driver for VMware ESX.
interesting, how did you go? I did some experimentation using SOAP and gsoap2 a few weeks ago that i need to restart. Did you use VIX instead ?
Is there a template with stubs for all the necessary routines for the API that I can use as a starting point?
I would suggest to start from the test driver (libvirt/src/test.c), the driver consists of a set of entry points (see at the bottom static virDriver testDriver), with a few predefined headers. The entry points at the driver level nearly match the ones from the public API. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

On Tue, 20 May 2008, Daniel Veillard wrote:
On Mon, May 19, 2008 at 02:28:10PM -0600, drew einhorn wrote:
Hi,
Hi,
I have some code that can probably be hacked into a libvirt driver for VMware ESX.
interesting, how did you go? I did some experimentation using SOAP and gsoap2 a few weeks ago that i need to restart. Did you use VIX instead ?
I read about VIX again, but is this already working for ESX? On their site and fora they mention Workstatation/Server only. Stefan

Quoting Stefan de Konink <skinkie@xs4all.nl>:
On Tue, 20 May 2008, Daniel Veillard wrote:
On Mon, May 19, 2008 at 02:28:10PM -0600, drew einhorn wrote:
Hi,
Hi,
I have some code that can probably be hacked into a libvirt driver for VMware ESX.
interesting, how did you go? I did some experimentation using SOAP and gsoap2 a few weeks ago that i need to restart. Did you use VIX instead ?
I read about VIX again, but is this already working for ESX? On their site and fora they mention Workstatation/Server only.
According to http://communities.vmware.com/thread/115071 the VIX API will be supported in ESX in the future. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer)

On Tue, 20 May 2008, Pau Garcia i Quiles wrote:
I read about VIX again, but is this already working for ESX? On their site and fora they mention Workstatation/Server only.
According to http://communities.vmware.com/thread/115071 the VIX API will be supported in ESX in the future.
The will be part scares me after 6 months... Stefan
participants (4)
-
Daniel Veillard
-
drew einhorn
-
Pau Garcia i Quiles
-
Stefan de Konink