-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
71 lines (62 loc) · 1.6 KB
/
README
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
ruby-libvirt
============
Ruby bindings for libvirt (http://libvirt.org)
Usage
-----
In your ruby code, do a "require 'libvirt'"; to obtain a connection, use
'Libvirt::open' or 'Libvirt::open_read_only'. See tests/*.rb for more
examples.
Hacking
-------
On a Fedora machine, run
yum install libvirt-devel ruby-devel rubygem-rake
and then
rake build
rake test
To run against the checkout, make sure you set RUBYLIB (assuming DIR is the
toplevel of your source checkout):
export RUBYLIB=$dir/lib:$dir/ext/libvirt
ruby -rlibvirt -e 'puts Libvirt::version[0]'
Notes
-----
As of June 24, 2011, the ruby-libvirt bindings support all of the libvirt
APIs up to libvirt commit hash 508de7eedb347b7369b97e1e08e6d30be590d80a
with the following exceptions:
- virConnectRef
- virDomainGetConnect
- virDomainRef
- virDomainOpenConsole
- virNetworkGetConnect
- virNetworkRef
- virInterfaceGetConnect
- virInterfaceRef
- virStoragePoolGetConnect
- virStoragePoolRef
- virStorageVolGetConnect
- virStorageVolRef
- virNodeDeviceRef
- virSecretGetConnect
- virSecretRef
- virStreamRef
- virNWFilterRef
- virEventRegisterDefaultImpl
- virEventRunDefaultImpl
- virDomainRestoreFlags
- virDomainGetControlInfo
- virDomainBlockStatsFlags
- VIR_DOMAIN_UNDEFINE_MANAGED_SAVE
- VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA
- virDomainUndefineFlags
- virDomainPinVcpuFlags
- virDomainGetVcpuPinInfo
- virDomainBlockJobAbort
- virDomainGetBlockJobInfo
- virDomainBlockJobSetSpeed
- virDomainBlockPull
- virDomainSendKey
- virEventAddHandle
- virEventUpdateHandle
- virEventRemoveHandle
- virEventAddTimeout
- virEventUpdateTimeout
- virEventRemoveTimeout