blob: 6db1a78a17561c008e7dc209cd76dbc59484ca23 (
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
|
=======================================================
VMware Workstation / Player / Fusion hypervisors driver
=======================================================
The libvirt VMware driver should be able to manage any Workstation, Player,
Fusion version supported by the VMware VIX API. See the compatibility list
`here <https://www.vmware.com/support/developer/vix-api/vix110_reference/>`__.
This driver uses the "vmrun" utility which is distributed with the VMware VIX
API. You can download the VIX API from
`here <https://www.vmware.com/support/developer/vix-api/>`__.
Project Links
-------------
- The `VMware Workstation and Player <https://www.vmware.com/>`__ hypervisors
- The `VMware Fusion <https://www.vmware.com/fusion>`__ hypervisor
Connections to VMware driver
----------------------------
The libvirt VMware driver provides per-user drivers (the "session" instance).
Three uris are available:
- "vmwareplayer" for VMware Player
- "vmwarews" for VMware Workstation
- "vmwarefusion" for VMware Fusion
Some example connection URIs for the driver are:
::
vmwareplayer:///session (local access to VMware Player per-user instance)
vmwarews:///session (local access to VMware Workstation per-user instance)
vmwarefusion:///session (local access to VMware Fusion 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)
Example domain XML config
-------------------------
::
<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>
|