aboutsummaryrefslogtreecommitdiff
blob: b82f6a3cb9f0e13620c81ed632fabaf2eb32023d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<html>
    <body>
        <h1>VMware Workstation / Player hypervisors driver</h1>
        <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.
    You can download the VIX API
    from <a href="http://www.vmware.com/support/developer/vix-api/">here</a>.
    </p>

    <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>

    <h2>Connections to VMware driver</h2>

    <p>
    The libvirt VMware driver provides per-user drivers (the "session" instance).
    Two uris are available:
    </p>
    <ul>
      <li>"vmwareplayer" for VMware Player</li>
      <li>"vmwarews" for VMware Workstation</li>
    </ul>
    <p>
    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>
&lt;domain type='vmware'&gt;
  &lt;name&gt;vmware&lt;/name&gt;
  &lt;uuid&gt;bea92244-8885-4562-828b-3b086731c5b1&lt;/uuid&gt;

  &lt;os&gt;
    &lt;type&gt;hvm&lt;/type&gt;
  &lt;/os&gt;

  &lt;memory&gt;524288&lt;/memory&gt;
  &lt;vcpu&gt;1&lt;/vcpu&gt;

  &lt;features&gt;
    &lt;pae/&gt;
    &lt;acpi/&gt;
  &lt;/features&gt;

  &lt;devices&gt;
    &lt;disk type='file' device='disk'&gt;
      &lt;source file='/home/user/tmp/disk.vmdk'/&gt;
      &lt;target bus='ide' dev='hda'/&gt;
    &lt;/disk&gt;

    &lt;interface type='bridge'&gt;
      &lt;target dev='/dev/vmnet1'/&gt;
      &lt;source bridge=''/&gt;
      &lt;mac address='00:16:3e:5d:c7:9e'/&gt;
    &lt;/interface&gt;
  &lt;/devices&gt;
&lt;/domain&gt;
</pre>

    </body>
</html>