2013-05-03 22:25:37 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
2010-12-23 16:35:51 +08:00
|
|
|
<body>
|
2010-12-23 23:56:11 +08:00
|
|
|
<h1>VMware Workstation / Player hypervisors driver</h1>
|
2010-12-23 16:35:51 +08:00
|
|
|
<p>
|
|
|
|
The libvirt VMware Workstation driver should be able to manage any Workstation and
|
|
|
|
Player version supported by the VMware VIX API. See the compatibility list
|
|
|
|
<a href="http://www.vmware.com/support/developer/vix-api/vix110_reference/">here</a>.
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
This driver uses the "vmrun" utility which is distributed with the VMware VIX API.
|
2011-04-02 06:02:10 +08:00
|
|
|
You can download the VIX API
|
|
|
|
from <a href="http://www.vmware.com/support/developer/vix-api/">here</a>.
|
|
|
|
</p>
|
2010-12-23 16:35:51 +08:00
|
|
|
|
2011-07-16 02:33:17 +08:00
|
|
|
<h2><a name="project">Project Links</a></h2>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
The <a href="http://www.vmware.com/">VMware Workstation and
|
|
|
|
Player</a> hypervisors
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2010-12-23 16:35:51 +08:00
|
|
|
<h2>Connections to VMware driver</h2>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
The libvirt VMware driver provides per-user drivers (the "session" instance).
|
|
|
|
Two uris are available:
|
2010-12-23 23:56:11 +08:00
|
|
|
</p>
|
2010-12-23 16:35:51 +08:00
|
|
|
<ul>
|
|
|
|
<li>"vmwareplayer" for VMware Player</li>
|
|
|
|
<li>"vmwarews" for VMware Workstation</li>
|
|
|
|
</ul>
|
2010-12-23 23:56:11 +08:00
|
|
|
<p>
|
2010-12-23 16:35:51 +08:00
|
|
|
Some example connection URIs for the driver are:
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
vmwareplayer:///session (local access to VMware Player per-user instance)
|
|
|
|
vmwarews:///session (local access to VMware Workstation per-user instance)
|
|
|
|
vmwarews+tcp://user@example.com/session (remote access to VMware Workstation, SASl/Kerberos)
|
|
|
|
vmwarews+ssh://user@example.com/session (remote access to VMware Workstation, SSH tunnelled)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
<h2><a name="xmlconfig">Example domain XML config</a></h2>
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<domain type='vmware'>
|
|
|
|
<name>vmware</name>
|
|
|
|
<uuid>bea92244-8885-4562-828b-3b086731c5b1</uuid>
|
|
|
|
|
|
|
|
<os>
|
|
|
|
<type>hvm</type>
|
|
|
|
</os>
|
|
|
|
|
|
|
|
<memory>524288</memory>
|
|
|
|
<vcpu>1</vcpu>
|
|
|
|
|
|
|
|
<features>
|
|
|
|
<pae/>
|
|
|
|
<acpi/>
|
|
|
|
</features>
|
|
|
|
|
|
|
|
<devices>
|
|
|
|
<disk type='file' device='disk'>
|
|
|
|
<source file='/home/user/tmp/disk.vmdk'/>
|
|
|
|
<target bus='ide' dev='hda'/>
|
|
|
|
</disk>
|
|
|
|
|
|
|
|
<interface type='bridge'>
|
|
|
|
<target dev='/dev/vmnet1'/>
|
|
|
|
<source bridge=''/>
|
|
|
|
<mac address='00:16:3e:5d:c7:9e'/>
|
|
|
|
</interface>
|
|
|
|
</devices>
|
|
|
|
</domain>
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|