ruby-libvirt 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
data/NEWS DELETED
@@ -1,158 +0,0 @@
1
- 2024-02-09 0.8.1
2
- * Fix StoragePool#list_all_volumes
3
- * Fix regression in Domain#attach_device and Domain#detach_device
4
-
5
- 2024-02-08 0.8.1
6
- * Add missing virDomainUndefineFlagsValues constants
7
- * Require libvirt 2.0.0
8
- * Always use pkg-config for detecting libvirt
9
- * Drop most compile-time feature checks
10
-
11
- 2021-11-15 0.8.0
12
- * Fix default values for node_cpu_stats and node_memory_stats
13
- * Fix cpumap allocation for virDomainGetVcpus
14
- * Enforce UTF8 for strings and exceptions
15
- * Drop local have_const
16
- * Use sensible default for libvirt_domain_qemu_agent_command
17
-
18
- 2018-02-18 0.7.1
19
- * Fix a bad bug in block_resize (Marius Rieder)
20
- * Fix up some problems pointed out by clang
21
- * Fix up the tests for small semantic differences in how libvirt works
22
-
23
- 2016-09-22 0.7.0
24
- * Fix network lease API to allow arguments that libvirt allows
25
- * Implement VIRT_STORAGE_POOL_CREATE flags
26
- * Implement more VIR_STORAGE_VOL flags
27
- * Implement VIR_DOMAIN_QEMU_AGENT_COMMAND_SHUTDOWN
28
- * Implement virDomainDefineXMLFlags
29
- * Implement virDomainRename
30
- * Implement virDomainSetUserPassword
31
- * Implement VIR_DOMAIN_TIME_SYNC
32
- * Fix the return value from virStreamSourceFunc so volume upload works
33
-
34
- 2015-11-20 0.6.0
35
- * Fix possible buffer overflow
36
- * Fix storage volume creation error messages
37
- * Add additional storage pool defines
38
- * Implement Network dhcp_leases method
39
- * Implement Connect node_alloc_pages method
40
- * Implement Domain time method
41
- * Implement Connect domain_capabilities method
42
- * Implement Domain core_dump_with_format method
43
- * Implement Domain fs_freeze method
44
- * Implement Domain fs_info method
45
- * Implement Connect node_free_pages method
46
-
47
- 2014-01-08 0.5.2
48
- * Fix to make sure we don't free more entires than retrieved
49
-
50
- 2013-12-15 0.5.1
51
- * Fixes to compile against older libvirt
52
- * Fixes to compile against ruby 1.8
53
-
54
- 2013-12-09 0.5.0
55
- * Updated Network class, implementing almost all libvirt APIs
56
- * Updated Domain class, implementing almost all libvirt APIs
57
- * Updated Connection class, implementing almost all libvirt APIs
58
- * Updated DomainSnapshot class, implementing almost all libvirt APIs
59
- * Updated NodeDevice class, implementing almost all libvirt APIs
60
- * Updated Storage class, implementing almost all libvirt APIs
61
- * Add constants for almost all libvirt defines
62
- * Improved performance in the library by using alloca
63
-
64
- 2011-07-27 0.4.0
65
- * Updated Domain class, implementing dom.memory_parameters=,
66
- dom.memory_parameters, dom.updated?, dom.migrate2, dom.migrate_to_uri2,
67
- dom.migrate_set_max_speed, dom.qemu_monitor_command, dom.blkio_parameters,
68
- dom.blkio_parameters=, dom.state, dom.open_console, dom.screenshot, and
69
- dom.inject_nmi
70
- * Implementation of the Stream class, which covers the libvirt virStream APIs
71
- * Add the ability to build against non-system libvirt libraries
72
- * Updated Error object, which now includes the libvirt code, component and
73
- level of the error, as well as all of the error constants from libvirt.h
74
- * Updated Connect class, implementing conn.sys_info, conn.stream,
75
- conn.interface_change_begin, conn.interface_change_commit, and
76
- conn.interface_change_rollback
77
- * Updated StorageVol class, implementing vol.download and vol.upload
78
- * Various bugfixes
79
-
80
- 2010-12-12 0.3.0
81
- * Implementation of Libvirt::open_auth, Libvirt::event_register_impl
82
- * Updated Connect class, implementing conn.compare_cpu, conn.baseline_cpu,
83
- conn.domain_event_register_any, conn.domain_event_deregister_any,
84
- conn.domain_event_register, conn.domain_event_deregister, and
85
- conn.create_domain_xml.
86
- * Updated Domain class, implementing dom.get_vcpus, dom.update_device,
87
- dom.scheduler_type, dom.scheduler_parameters, dom.scheduler_parameters=,
88
- dom.num_vcpus, dom.vcpus_flags=, and dom.qemu_monitor_command.
89
- * Updated Interface class, implementing interface.free
90
- * Many potential memory leaks have been fixed.
91
- * Many bugfixes.
92
- * Documentation update of many methods, including all of the lookup methods
93
- that were missing before.
94
-
95
- 2010-11-10
96
- * Gem for version 0.2.0 pushed to rubygems.org
97
-
98
- 2010-07-01 0.2.0
99
- * Updated Storage class, implementing pool.active?, pool.persistent?,
100
- pool.vol_create_xml_from.
101
- * Updated Connect class, implementing conn.node_free_memory,
102
- conn.node_cells_free_memory, conn.node_get_security_model, conn.encrypted?,
103
- conn.libversion, and conn.secure?
104
- * Updated Network class, implementing network.active? and network.persistent?
105
- * Update Domain class, implementing conn.domain_xml_from_native,
106
- conn.domain_xml_to_native, dom.migrate_to_uri,
107
- dom.migrate_set_max_downtime, dom.managed_save, dom.has_managed_save?,
108
- dom.managed_save_remove, dom.security_label, dom.block_stats,
109
- dom.memory_stats, dom.blockinfo, dom.block_peek, dom.memory_peek,
110
- dom.active?, dom.persistent?, dom.snapshot_create_xml,
111
- dom.num_of_snapshots, dom.list_snapshots, dom.lookup_snapshot_by_name,
112
- dom.has_current_snapshot?, dom.revert_to_snapshot, dom.current_snapshot,
113
- snapshot.xml_desc, snapshot.delete, dom.job_info, and dom.abort_job.
114
- * Implementation of the NodeDevice class.
115
- * Implementation of the Secret class.
116
- * Implementation of the NWFilter class.
117
- * Implementation of the Interface class.
118
- * Conversion of the development tree to git.
119
- * New maintainer (Chris Lalancette). David Lutterkort has agreed to transfer
120
- maintainership since he is not actively involved in their development
121
- anymore.
122
-
123
- 2008-11-18 0.1.0
124
- * Add binding for virConnectFindStoragePoolSources (clalance)
125
- * Fix dom_migrate (clalance)
126
- * Add the MIGRATE_LIVE (enum virDomainMigrateFlags) flag
127
- * Slight improvements of the unit tests
128
-
129
- 2008-04-15 0.0.7
130
- * Binding for virDomainMigrate
131
- * Fix crash caused by using virResetError
132
- * More sensible message included in exceptions
133
-
134
- 2008-04-02 0.0.6
135
- * Fix test failure exposed by the Fedora builders
136
-
137
- 2008-04-02 0.0.5
138
- * Explicit free methods for various objects (based on a patch by
139
- Vadim Zaliva)
140
- * Make the FLAGS argument for various calls optional, and default it
141
- to 0. (Chris Lalancette)
142
- * More finegrained exceptions on errors, containing libvirt error message
143
- (Mohammed Morsi)
144
-
145
- 2008-04-01 0.0.4
146
- * Bindings for the libvirt storage API (requires libvirt 0.4.1)
147
- * Suppress some bindings if the underlying libvirt doesn't support it
148
- * Bindings for virDomainSetMemory, virDomainPinVcpu, and
149
- virDomainSetVcpus (Vadim Zaliva)
150
-
151
- 2007-12-06 0.0.2
152
- * Add virNodeGetInfo binding
153
-
154
- * Convert Ruby API from StudlyCaps to under_score_separation, since that's
155
- the Ruby convention
156
-
157
- 2007-11-19 0.0.1
158
- * Initial release
data/README DELETED
@@ -1,219 +0,0 @@
1
- ruby-libvirt
2
- ============
3
-
4
- Ruby bindings for libvirt (https://libvirt.org)
5
-
6
- Usage
7
- -----
8
-
9
- In your ruby code, do a "require 'libvirt'"; to obtain a connection, use
10
- 'Libvirt::open' or 'Libvirt::open_read_only'. See tests/*.rb for more
11
- examples.
12
-
13
- Hacking
14
- -------
15
-
16
- On a Fedora machine, run
17
- yum install libvirt-devel ruby-devel rubygem-rake
18
- and then
19
- rake build
20
- rake test
21
-
22
- To run against the checkout, make sure you set RUBYLIB (assuming DIR is the
23
- toplevel of your source checkout):
24
-
25
- export RUBYLIB=$dir/lib:$dir/ext/libvirt
26
- ruby -rlibvirt -e 'puts Libvirt::version[0]'
27
-
28
- Notes
29
- -----
30
- As of October 26, 2013, the ruby-libvirt bindings support all of the libvirt
31
- APIs up to libvirt commit hash b695aeebd52bcbd0d260893bddd5bfe1e486e980
32
- with the following exceptions:
33
-
34
- VIR_DOMAIN_LAST
35
- VIR_DOMAIN_NOSTATE_LAST
36
- VIR_DOMAIN_RUNNING_LAST
37
- VIR_DOMAIN_BLOCKED_LAST
38
- VIR_DOMAIN_PAUSED_LAST
39
- VIR_DOMAIN_SHUTDOWN_LAST
40
- VIR_DOMAIN_SHUTOFF_LAST
41
- VIR_DOMAIN_CRASHED_LAST
42
- VIR_DOMAIN_PMSUSPENDED_LAST
43
- VIR_DOMAIN_PMSUSPENDED_DISK_LAST
44
- VIR_DOMAIN_CONTROL_LAST
45
- VIR_DOMAIN_NONE
46
- VIR_NODE_SUSPEND_TARGET_LAST
47
- VIR_TYPED_PARAM_LAST
48
- VIR_TYPED_PARAM_STRING_OKAY
49
- VIR_DOMAIN_MEMORY_STAT_NR
50
- VIR_DOMAIN_MEMORY_STAT_LAST
51
- VIR_CRED_LAST
52
- VIR_EXPORT_VAR
53
- VIR_CONNECT_CLOSE_REASON_ERROR
54
- VIR_CONNECT_CLOSE_REASON_EOF
55
- VIR_CONNECT_CLOSE_REASON_KEEPALIVE
56
- VIR_CONNECT_CLOSE_REASON_CLIENT
57
- VIR_CONNECT_CLOSE_REASON_LAST
58
- VIR_DOMAIN_NUMATUNE_MEM_STRICT
59
- VIR_DOMAIN_NUMATUNE_MEM_PREFERRED
60
- VIR_DOMAIN_NUMATUNE_MEM_INTERLEAVE
61
- VIR_DOMAIN_NUMATUNE_MEM_LAST
62
- VIR_DOMAIN_METADATA_LAST
63
- VIR_VCPU_LAST
64
- VIR_DOMAIN_BLOCK_JOB_TYPE_LAST
65
- VIR_DOMAIN_DISK_ERROR_LAST
66
- VIR_NETWORK_UPDATE_COMMAND_LAST
67
- VIR_NETWORK_SECTION_LAST
68
- VIR_STORAGE_POOL_STATE_LAST
69
- VIR_STORAGE_VOL_LAST
70
- VIR_STORAGE_VOL_WIPE_ALG_LAST
71
- VIR_KEYCODE_SET_LAST
72
- VIR_DOMAIN_PROCESS_SIGNAL_LAST
73
- VIR_DOMAIN_EVENT_LAST
74
- VIR_DOMAIN_EVENT_DEFINED_LAST
75
- VIR_DOMAIN_EVENT_UNDEFINED_LAST
76
- VIR_DOMAIN_EVENT_STARTED_LAST
77
- VIR_DOMAIN_EVENT_SUSPENDED_LAST
78
- VIR_DOMAIN_EVENT_RESUMED_LAST
79
- VIR_DOMAIN_EVENT_STOPPED_LAST
80
- VIR_DOMAIN_EVENT_SHUTDOWN_LAST
81
- VIR_DOMAIN_EVENT_PMSUSPENDED_LAST
82
- VIR_DOMAIN_EVENT_CRASHED_LAST
83
- VIR_SECRET_USAGE_TYPE_LAST
84
- VIR_CPU_COMPARE_LAST
85
- VIR_DOMAIN_JOB_LAST
86
- VIR_DOMAIN_EVENT_WATCHDOG_LAST
87
- VIR_DOMAIN_EVENT_IO_ERROR_LAST
88
- VIR_DOMAIN_EVENT_GRAPHICS_LAST
89
- VIR_DOMAIN_EVENT_GRAPHICS_ADDRESS_LAST
90
- VIR_DOMAIN_BLOCK_JOB_LAST
91
- VIR_DOMAIN_EVENT_DISK_CHANGE_MISSING_ON_START
92
- VIR_DOMAIN_EVENT_DISK_DROP_MISSING_ON_START
93
- VIR_DOMAIN_EVENT_DISK_CHANGE_LAST
94
- VIR_DOMAIN_EVENT_TRAY_CHANGE_OPEN
95
- VIR_DOMAIN_EVENT_TRAY_CHANGE_CLOSE
96
- VIR_DOMAIN_EVENT_TRAY_CHANGE_LAST
97
- VIR_DOMAIN_EVENT_ID_BLOCK_JOB
98
- VIR_DOMAIN_EVENT_ID_DISK_CHANGE
99
- VIR_DOMAIN_EVENT_ID_TRAY_CHANGE
100
- VIR_DOMAIN_EVENT_ID_PMWAKEUP
101
- VIR_DOMAIN_EVENT_ID_PMSUSPEND
102
- VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE
103
- VIR_DOMAIN_EVENT_ID_PMSUSPEND_DISK
104
- VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED
105
- VIR_DOMAIN_EVENT_ID_LAST
106
- VIR_DOMAIN_BLKIO_PARAM_INT
107
- VIR_DOMAIN_BLKIO_PARAM_UINT
108
- VIR_DOMAIN_BLKIO_PARAM_LLONG
109
- VIR_DOMAIN_BLKIO_PARAM_ULLONG
110
- VIR_DOMAIN_BLKIO_PARAM_DOUBLE
111
- VIR_DOMAIN_BLKIO_PARAM_BOOLEAN
112
- VIR_DOMAIN_MEMORY_PARAM_INT
113
- VIR_DOMAIN_MEMORY_PARAM_UINT
114
- VIR_DOMAIN_MEMORY_PARAM_LLONG
115
- VIR_DOMAIN_MEMORY_PARAM_ULLONG
116
- VIR_DOMAIN_MEMORY_PARAM_DOUBLE
117
- VIR_DOMAIN_MEMORY_PARAM_BOOLEAN
118
- VIR_DEPRECATED
119
- VIR_DEPRECATED
120
- VIR_EXPORT_VAR
121
- VIR_EXPORT_VAR
122
- VIR_EXPORT_VAR
123
- VIR_EXPORT_VAR
124
- VIR_SECURITY_LABEL_BUFLEN
125
- VIR_SECURITY_MODEL_BUFLEN
126
- VIR_SECURITY_DOI_BUFLEN
127
- VIR_NODE_CPU_STATS_FIELD_LENGTH
128
- VIR_NODE_CPU_STATS_KERNEL
129
- VIR_NODE_CPU_STATS_USER
130
- VIR_NODE_CPU_STATS_IDLE
131
- VIR_NODE_CPU_STATS_IOWAIT
132
- VIR_NODE_CPU_STATS_UTILIZATION
133
- VIR_NODE_MEMORY_STATS_FIELD_LENGTH
134
- VIR_NODE_MEMORY_STATS_TOTAL
135
- VIR_NODE_MEMORY_STATS_FREE
136
- VIR_NODE_MEMORY_STATS_BUFFERS
137
- VIR_NODE_MEMORY_STATS_CACHED
138
- VIR_DOMAIN_BLOCK_STATS_FIELD_LENGTH
139
- VIR_DOMAIN_BLOCK_STATS_READ_BYTES
140
- VIR_DOMAIN_BLOCK_STATS_READ_REQ
141
- VIR_DOMAIN_BLOCK_STATS_READ_TOTAL_TIMES
142
- VIR_DOMAIN_BLOCK_STATS_WRITE_BYTES
143
- VIR_DOMAIN_BLOCK_STATS_WRITE_REQ
144
- VIR_DOMAIN_BLOCK_STATS_WRITE_TOTAL_TIMES
145
- VIR_DOMAIN_BLOCK_STATS_FLUSH_REQ
146
- VIR_DOMAIN_BLOCK_STATS_FLUSH_TOTAL_TIMES
147
- VIR_DOMAIN_BLOCK_STATS_ERRS
148
- VIR_UUID_BUFLEN
149
- LIBVIR_VERSION_NUMBER
150
- VIR_DOMAIN_CPU_STATS_CPUTIME
151
- VIR_DOMAIN_CPU_STATS_USERTIME
152
- VIR_DOMAIN_CPU_STATS_SYSTEMTIME
153
- VIR_DOMAIN_CPU_STATS_VCPUTIME
154
- VIR_UNUSE_CPU
155
- VIR_COPY_CPUMAP
156
- VIR_GET_CPUMAP
157
- VIR_DOMAIN_SEND_KEY_MAX_KEYS
158
- VIR_DOMAIN_JOB_TIME_ELAPSED
159
- VIR_DOMAIN_JOB_TIME_REMAINING
160
- VIR_DOMAIN_JOB_DOWNTIME
161
- VIR_DOMAIN_JOB_DATA_TOTAL
162
- VIR_DOMAIN_JOB_DATA_PROCESSED
163
- VIR_DOMAIN_JOB_DATA_REMAINING
164
- VIR_DOMAIN_JOB_MEMORY_TOTAL
165
- VIR_DOMAIN_JOB_MEMORY_PROCESSED
166
- VIR_DOMAIN_JOB_MEMORY_REMAINING
167
- VIR_DOMAIN_JOB_MEMORY_CONSTANT
168
- VIR_DOMAIN_JOB_MEMORY_NORMAL
169
- VIR_DOMAIN_JOB_MEMORY_NORMAL_BYTES
170
- VIR_DOMAIN_JOB_DISK_TOTAL
171
- VIR_DOMAIN_JOB_DISK_PROCESSED
172
- VIR_DOMAIN_JOB_DISK_REMAINING
173
- VIR_DOMAIN_JOB_COMPRESSION_CACHE
174
- VIR_DOMAIN_JOB_COMPRESSION_BYTES
175
- VIR_DOMAIN_JOB_COMPRESSION_PAGES
176
- VIR_DOMAIN_JOB_COMPRESSION_CACHE_MISSES
177
- VIR_DOMAIN_JOB_COMPRESSION_OVERFLOW
178
- VIR_DOMAIN_SCHED_FIELD_LENGTH
179
- VIR_DOMAIN_BLKIO_FIELD_LENGTH
180
- VIR_DOMAIN_MEMORY_FIELD_LENGTH
181
- virTypedParamsGet
182
- virTypedParamsGetInt
183
- virTypedParamsGetUInt
184
- virTypedParamsGetLLong
185
- virTypedParamsGetULLong
186
- virTypedParamsGetDouble
187
- virTypedParamsGetBoolean
188
- virTypedParamsGetString
189
- virTypedParamsAddInt
190
- virTypedParamsAddUInt
191
- virTypedParamsAddLLong
192
- virTypedParamsAddULLong
193
- virTypedParamsAddDouble
194
- virTypedParamsAddBoolean
195
- virTypedParamsAddString
196
- virTypedParamsAddFromString
197
- virTypedParamsClear
198
- virConnectRef
199
- virConnectRegisterCloseCallback
200
- virConnectUnregisterCloseCallback
201
- virDomainGetConnect
202
- virDomainRef
203
- virDomainRestoreFlags
204
- virNetworkGetConnect
205
- virNetworkRef
206
- virInterfaceGetConnect
207
- virInterfaceRef
208
- virStoragePoolGetConnect
209
- virStorageVolGetConnect
210
- virStorageVolRef
211
- virNodeDeviceRef
212
- virSecretGetConnect
213
- virSecretRef
214
- virStreamRef
215
- virDomainSnapshotGetDomain
216
- virDomainSnapshotGetConnect
217
- virDomainSnapshotRef
218
- virNWFilterRef
219
- VIR_DOMAIN_QEMU_AGENT_COMMAND_MIN
@@ -1,3 +0,0 @@
1
- #ifndef EXTCONF_H
2
- #define EXTCONF_H
3
- #endif
File without changes