[libvirt] VMWare support, any news?

Hi All, I noticed there are some discussion about VMWare support of libvirt several back in April-May. Just wondering is there a prototype yet? The function I¹m interested in is to stop/start a VM by VMWare player/workstation/free server. Thanks, -Yushu

On Thu, Aug 14, 2008 at 02:11:33PM -0700, Yushu Yao wrote:
Hi All,
I noticed there are some discussion about VMWare support of libvirt several back in April-May. Just wondering is there a prototype yet?
This is no code that I'm aware of. With the recent libvirt code refactoring it should be much quicker/easier to develop additional hypervisor backends if someone is motivated .... :-)
The function I¹m interested in is to stop/start a VM by VMWare player/workstation/free server.
Most of the interest in the past has been for VMWare ESX server. From what I understand we'd need to have completely different drivers for ESX vs Player/Workstation because they have no common management API capabilities we can use. We'd welcome patches to write a driver for either ESX or Player/Workstation or both, since they all have valid use cases Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

Thanks Daniel, Could you point me to the simplest example of one other back-end? (I looked into "test" one but don't know if it has been different after refactoring). So, consider VMPlayer as an example, I need simply do a system call "vmplayer --xxx yyy.vmx" in the driver implementation? Am I understanding it correctly? -Yushu On 8/14/08 3:13 PM, "Daniel P. Berrange" <berrange@redhat.com> wrote:
On Thu, Aug 14, 2008 at 02:11:33PM -0700, Yushu Yao wrote:
Hi All,
I noticed there are some discussion about VMWare support of libvirt several back in April-May. Just wondering is there a prototype yet?
This is no code that I'm aware of. With the recent libvirt code refactoring it should be much quicker/easier to develop additional hypervisor backends if someone is motivated .... :-)
The function I¹m interested in is to stop/start a VM by VMWare player/workstation/free server.
Most of the interest in the past has been for VMWare ESX server. From what I understand we'd need to have completely different drivers for ESX vs Player/Workstation because they have no common management API capabilities we can use. We'd welcome patches to write a driver for either ESX or Player/Workstation or both, since they all have valid use cases
Daniel

On Thu, 14 Aug 2008, Yushu Yao wrote:
Thanks Daniel,
Could you point me to the simplest example of one other back-end? (I looked into "test" one but don't know if it has been different after refactoring).
So, consider VMPlayer as an example, I need simply do a system call "vmplayer --xxx yyy.vmx" in the driver implementation? Am I understanding it correctly?
Ideally you would implement the API used for ESX ;) but vmware player could be a start :) Stefan

Vmware has an api the vmware server, vmware workstation and esx all (mostly) share. -- <march> -----Original Message----- From: Stefan de Konink <skinkie@xs4all.nl> Date: Fri, 15 Aug 2008 00:33:20 To: Yushu Yao<yushuyaoyao@gmail.com> Cc: <libvir-list@redhat.com> Subject: Re: [libvirt] VMWare support, any news? On Thu, 14 Aug 2008, Yushu Yao wrote:
Thanks Daniel,
Could you point me to the simplest example of one other back-end? (I looked into "test" one but don't know if it has been different after refactoring).
So, consider VMPlayer as an example, I need simply do a system call "vmplayer --xxx yyy.vmx" in the driver implementation? Am I understanding it correctly?
Ideally you would implement the API used for ESX ;) but vmware player could be a start :) Stefan -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Hello, even though it might probably not be exactly what you expect, I released a GPL3-Tool, the UnifiedSessionsManager, what functionally exactly does this. It supports transparently VMware-workstation+server+player and utilizes either vmrun or vmware-cmd. For new VMs the inventory entries are created transparently in case of VMserver. Therefore a "unified" call interface is provided - with same syntax for QEMU and Xen, which is as basic-call as follows: ->START: ctys -t vmw -a create=<machine-address> <execution-target> -t <VM-type> -a <action>:=CREATE|CANCEL|LIST|ENUMERATE|SHOW|INFO <machine-address>:=( [label:<displayName>][,] [pathname:<pathname>][,] .... ) The exact syntax and components are described detailed within the manual. <execution-target> An execution target in "email-format" <USER>@<HOST>, when missing "localhost" is assumed. There are more options, but this call is sufficient: ctys -t vmw -a create=label:myDisplayName myExecTargetHost When no cached information is present the filesystem is scanned by a find based on a match-filter for configuration files, and the required information is fetched from the configuration file. Further information is available from the User-Manual, which is has more than 600pages. ->STOP: ctys -t vmw -a cancel=label:myDisplayName myExecTargetHost Maybe this is what you functionally require. The libvirt, exactly virsh in companion with xm is used in case of Xen (-t xen) only. The URL is http://www.unifiedsessionsmanager.org http://sourceforge.net/projects/ctys Arno Michael March wrote:
Vmware has an api the vmware server, vmware workstation and esx all (mostly) share.
-- <march> -----Original Message----- From: Stefan de Konink <skinkie@xs4all.nl> Date: Fri, 15 Aug 2008 00:33:20 To: Yushu Yao<yushuyaoyao@gmail.com> Cc: <libvir-list@redhat.com> Subject: Re: [libvirt] VMWare support, any news? On Thu, 14 Aug 2008, Yushu Yao wrote:
Thanks Daniel,
Could you point me to the simplest example of one other back-end? (I looked into "test" one but don't know if it has been different after refactoring).
So, consider VMPlayer as an example, I need simply do a system call "vmplayer --xxx yyy.vmx" in the driver implementation? Am I understanding it correctly?
Ideally you would implement the API used for ESX ;) but vmware player could be a start :) Stefan -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list -- ---------------------------------------------------------------------------- Arno-Can Uestuensoez www.i4p.de / www.i4p.com
participants (5)
-
acue
-
Daniel P. Berrange
-
Michael March
-
Stefan de Konink
-
Yushu Yao