ruby-libvirt 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/NEWS DELETED
@@ -1,154 +0,0 @@
1
- 2024-02-08 0.8.1
2
- * Add missing virDomainUndefineFlagsValues constants
3
- * Require libvirt 2.0.0
4
- * Always use pkg-config for detecting libvirt
5
- * Drop most compile-time feature checks
6
-
7
- 2021-11-15 0.8.0
8
- * Fix default values for node_cpu_stats and node_memory_stats
9
- * Fix cpumap allocation for virDomainGetVcpus
10
- * Enforce UTF8 for strings and exceptions
11
- * Drop local have_const
12
- * Use sensible default for libvirt_domain_qemu_agent_command
13
-
14
- 2018-02-18 0.7.1
15
- * Fix a bad bug in block_resize (Marius Rieder)
16
- * Fix up some problems pointed out by clang
17
- * Fix up the tests for small semantic differences in how libvirt works
18
-
19
- 2016-09-22 0.7.0
20
- * Fix network lease API to allow arguments that libvirt allows
21
- * Implement VIRT_STORAGE_POOL_CREATE flags
22
- * Implement more VIR_STORAGE_VOL flags
23
- * Implement VIR_DOMAIN_QEMU_AGENT_COMMAND_SHUTDOWN
24
- * Implement virDomainDefineXMLFlags
25
- * Implement virDomainRename
26
- * Implement virDomainSetUserPassword
27
- * Implement VIR_DOMAIN_TIME_SYNC
28
- * Fix the return value from virStreamSourceFunc so volume upload works
29
-
30
- 2015-11-20 0.6.0
31
- * Fix possible buffer overflow
32
- * Fix storage volume creation error messages
33
- * Add additional storage pool defines
34
- * Implement Network dhcp_leases method
35
- * Implement Connect node_alloc_pages method
36
- * Implement Domain time method
37
- * Implement Connect domain_capabilities method
38
- * Implement Domain core_dump_with_format method
39
- * Implement Domain fs_freeze method
40
- * Implement Domain fs_info method
41
- * Implement Connect node_free_pages method
42
-
43
- 2014-01-08 0.5.2
44
- * Fix to make sure we don't free more entires than retrieved
45
-
46
- 2013-12-15 0.5.1
47
- * Fixes to compile against older libvirt
48
- * Fixes to compile against ruby 1.8
49
-
50
- 2013-12-09 0.5.0
51
- * Updated Network class, implementing almost all libvirt APIs
52
- * Updated Domain class, implementing almost all libvirt APIs
53
- * Updated Connection class, implementing almost all libvirt APIs
54
- * Updated DomainSnapshot class, implementing almost all libvirt APIs
55
- * Updated NodeDevice class, implementing almost all libvirt APIs
56
- * Updated Storage class, implementing almost all libvirt APIs
57
- * Add constants for almost all libvirt defines
58
- * Improved performance in the library by using alloca
59
-
60
- 2011-07-27 0.4.0
61
- * Updated Domain class, implementing dom.memory_parameters=,
62
- dom.memory_parameters, dom.updated?, dom.migrate2, dom.migrate_to_uri2,
63
- dom.migrate_set_max_speed, dom.qemu_monitor_command, dom.blkio_parameters,
64
- dom.blkio_parameters=, dom.state, dom.open_console, dom.screenshot, and
65
- dom.inject_nmi
66
- * Implementation of the Stream class, which covers the libvirt virStream APIs
67
- * Add the ability to build against non-system libvirt libraries
68
- * Updated Error object, which now includes the libvirt code, component and
69
- level of the error, as well as all of the error constants from libvirt.h
70
- * Updated Connect class, implementing conn.sys_info, conn.stream,
71
- conn.interface_change_begin, conn.interface_change_commit, and
72
- conn.interface_change_rollback
73
- * Updated StorageVol class, implementing vol.download and vol.upload
74
- * Various bugfixes
75
-
76
- 2010-12-12 0.3.0
77
- * Implementation of Libvirt::open_auth, Libvirt::event_register_impl
78
- * Updated Connect class, implementing conn.compare_cpu, conn.baseline_cpu,
79
- conn.domain_event_register_any, conn.domain_event_deregister_any,
80
- conn.domain_event_register, conn.domain_event_deregister, and
81
- conn.create_domain_xml.
82
- * Updated Domain class, implementing dom.get_vcpus, dom.update_device,
83
- dom.scheduler_type, dom.scheduler_parameters, dom.scheduler_parameters=,
84
- dom.num_vcpus, dom.vcpus_flags=, and dom.qemu_monitor_command.
85
- * Updated Interface class, implementing interface.free
86
- * Many potential memory leaks have been fixed.
87
- * Many bugfixes.
88
- * Documentation update of many methods, including all of the lookup methods
89
- that were missing before.
90
-
91
- 2010-11-10
92
- * Gem for version 0.2.0 pushed to rubygems.org
93
-
94
- 2010-07-01 0.2.0
95
- * Updated Storage class, implementing pool.active?, pool.persistent?,
96
- pool.vol_create_xml_from.
97
- * Updated Connect class, implementing conn.node_free_memory,
98
- conn.node_cells_free_memory, conn.node_get_security_model, conn.encrypted?,
99
- conn.libversion, and conn.secure?
100
- * Updated Network class, implementing network.active? and network.persistent?
101
- * Update Domain class, implementing conn.domain_xml_from_native,
102
- conn.domain_xml_to_native, dom.migrate_to_uri,
103
- dom.migrate_set_max_downtime, dom.managed_save, dom.has_managed_save?,
104
- dom.managed_save_remove, dom.security_label, dom.block_stats,
105
- dom.memory_stats, dom.blockinfo, dom.block_peek, dom.memory_peek,
106
- dom.active?, dom.persistent?, dom.snapshot_create_xml,
107
- dom.num_of_snapshots, dom.list_snapshots, dom.lookup_snapshot_by_name,
108
- dom.has_current_snapshot?, dom.revert_to_snapshot, dom.current_snapshot,
109
- snapshot.xml_desc, snapshot.delete, dom.job_info, and dom.abort_job.
110
- * Implementation of the NodeDevice class.
111
- * Implementation of the Secret class.
112
- * Implementation of the NWFilter class.
113
- * Implementation of the Interface class.
114
- * Conversion of the development tree to git.
115
- * New maintainer (Chris Lalancette). David Lutterkort has agreed to transfer
116
- maintainership since he is not actively involved in their development
117
- anymore.
118
-
119
- 2008-11-18 0.1.0
120
- * Add binding for virConnectFindStoragePoolSources (clalance)
121
- * Fix dom_migrate (clalance)
122
- * Add the MIGRATE_LIVE (enum virDomainMigrateFlags) flag
123
- * Slight improvements of the unit tests
124
-
125
- 2008-04-15 0.0.7
126
- * Binding for virDomainMigrate
127
- * Fix crash caused by using virResetError
128
- * More sensible message included in exceptions
129
-
130
- 2008-04-02 0.0.6
131
- * Fix test failure exposed by the Fedora builders
132
-
133
- 2008-04-02 0.0.5
134
- * Explicit free methods for various objects (based on a patch by
135
- Vadim Zaliva)
136
- * Make the FLAGS argument for various calls optional, and default it
137
- to 0. (Chris Lalancette)
138
- * More finegrained exceptions on errors, containing libvirt error message
139
- (Mohammed Morsi)
140
-
141
- 2008-04-01 0.0.4
142
- * Bindings for the libvirt storage API (requires libvirt 0.4.1)
143
- * Suppress some bindings if the underlying libvirt doesn't support it
144
- * Bindings for virDomainSetMemory, virDomainPinVcpu, and
145
- virDomainSetVcpus (Vadim Zaliva)
146
-
147
- 2007-12-06 0.0.2
148
- * Add virNodeGetInfo binding
149
-
150
- * Convert Ruby API from StudlyCaps to under_score_separation, since that's
151
- the Ruby convention
152
-
153
- 2007-11-19 0.0.1
154
- * 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