vagrant-libvirt 0.3.0 → 0.5.2

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.
Files changed (67) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +421 -50
  3. data/lib/vagrant-libvirt/action.rb +7 -1
  4. data/lib/vagrant-libvirt/action/clean_machine_folder.rb +30 -0
  5. data/lib/vagrant-libvirt/action/create_domain.rb +56 -18
  6. data/lib/vagrant-libvirt/action/create_domain_volume.rb +57 -55
  7. data/lib/vagrant-libvirt/action/create_network_interfaces.rb +0 -3
  8. data/lib/vagrant-libvirt/action/create_networks.rb +11 -4
  9. data/lib/vagrant-libvirt/action/destroy_domain.rb +1 -1
  10. data/lib/vagrant-libvirt/action/forward_ports.rb +37 -38
  11. data/lib/vagrant-libvirt/action/halt_domain.rb +25 -9
  12. data/lib/vagrant-libvirt/action/handle_box_image.rb +163 -74
  13. data/lib/vagrant-libvirt/action/is_running.rb +1 -3
  14. data/lib/vagrant-libvirt/action/is_suspended.rb +4 -4
  15. data/lib/vagrant-libvirt/action/package_domain.rb +2 -1
  16. data/lib/vagrant-libvirt/action/set_boot_order.rb +6 -2
  17. data/lib/vagrant-libvirt/action/start_domain.rb +86 -29
  18. data/lib/vagrant-libvirt/action/wait_till_up.rb +8 -52
  19. data/lib/vagrant-libvirt/cap/{mount_p9.rb → mount_9p.rb} +2 -2
  20. data/lib/vagrant-libvirt/cap/mount_virtiofs.rb +37 -0
  21. data/lib/vagrant-libvirt/cap/{synced_folder.rb → synced_folder_9p.rb} +4 -5
  22. data/lib/vagrant-libvirt/cap/synced_folder_virtiofs.rb +109 -0
  23. data/lib/vagrant-libvirt/config.rb +236 -43
  24. data/lib/vagrant-libvirt/driver.rb +49 -32
  25. data/lib/vagrant-libvirt/errors.rb +24 -1
  26. data/lib/vagrant-libvirt/plugin.rb +14 -5
  27. data/lib/vagrant-libvirt/provider.rb +2 -9
  28. data/lib/vagrant-libvirt/templates/domain.xml.erb +35 -10
  29. data/lib/vagrant-libvirt/templates/private_network.xml.erb +1 -1
  30. data/lib/vagrant-libvirt/util/network_util.rb +21 -3
  31. data/lib/vagrant-libvirt/version +1 -1
  32. data/lib/vagrant-libvirt/version.rb +57 -9
  33. data/locales/en.yml +12 -0
  34. data/spec/spec_helper.rb +37 -3
  35. data/spec/support/binding_proc.rb +24 -0
  36. data/spec/support/libvirt_context.rb +2 -0
  37. data/spec/support/matchers/have_file_content.rb +63 -0
  38. data/spec/support/sharedcontext.rb +4 -0
  39. data/spec/unit/action/clean_machine_folder_spec.rb +58 -0
  40. data/spec/unit/action/create_domain_spec.rb +121 -36
  41. data/spec/unit/action/create_domain_spec/additional_disks_domain.xml +54 -0
  42. data/spec/unit/action/create_domain_spec/default_domain.xml +49 -0
  43. data/spec/unit/action/create_domain_spec/{default_storage_pool.xml → default_system_storage_pool.xml} +0 -0
  44. data/spec/unit/action/create_domain_spec/default_user_storage_pool.xml +17 -0
  45. data/spec/unit/action/create_domain_volume_spec.rb +102 -0
  46. data/spec/unit/action/create_domain_volume_spec/one_disk_in_storage.xml +21 -0
  47. data/spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_0.xml +21 -0
  48. data/spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_1.xml +21 -0
  49. data/spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_2.xml +21 -0
  50. data/spec/unit/action/destroy_domain_spec.rb +1 -1
  51. data/spec/unit/action/forward_ports_spec.rb +202 -0
  52. data/spec/unit/action/halt_domain_spec.rb +90 -0
  53. data/spec/unit/action/handle_box_image_spec.rb +363 -0
  54. data/spec/unit/action/start_domain_spec.rb +183 -1
  55. data/spec/unit/action/start_domain_spec/clock_timer_rtc.xml +50 -0
  56. data/spec/unit/action/start_domain_spec/default.xml +2 -2
  57. data/spec/unit/action/start_domain_spec/default_added_tpm_path.xml +48 -0
  58. data/spec/unit/action/start_domain_spec/default_added_tpm_version.xml +48 -0
  59. data/spec/unit/action/wait_till_up_spec.rb +22 -21
  60. data/spec/unit/config_spec.rb +395 -127
  61. data/spec/unit/templates/domain_all_settings.xml +14 -3
  62. data/spec/unit/templates/domain_custom_cpu_model.xml +2 -1
  63. data/spec/unit/templates/domain_defaults.xml +2 -1
  64. data/spec/unit/templates/domain_spec.rb +100 -3
  65. data/spec/unit/templates/tpm/version_1.2.xml +54 -0
  66. data/spec/unit/templates/tpm/version_2.0.xml +53 -0
  67. metadata +105 -19
@@ -34,33 +34,44 @@
34
34
  <pae/>
35
35
  <hyperv>
36
36
  <BBB state='on' />
37
+ <spinlocks state='on' retries='4096' />
37
38
  </hyperv>
38
39
  </features>
39
- <clock offset='utc'/>
40
+ <clock offset='variable'>
41
+ <timer name='t1'/>
42
+ <timer name='t2' track='b' tickpolicy='c' frequency='d' mode='e' present='yes'/>
43
+ </clock>
40
44
  <devices>
41
45
  <emulator>/usr/bin/kvm-spice</emulator>
42
46
  <disk type='file' device='disk'>
43
- <driver name='qemu' type='qcow2' cache='unsafe'/>
47
+ <driver name='qemu' type='qcow2' cache='unsafe' io='threads' copy_on_read='on' discard='unmap' detect_zeroes='on'/>
44
48
  <source file='/var/lib/libvirt/images/test.qcow2'/>
45
49
  <target dev='vda' bus='ide'/>
46
50
  </disk>
51
+ <disk type='file' device='disk'>
52
+ <driver name='qemu' type='qcow2' cache='unsafe' io='threads' copy_on_read='on' discard='unmap' detect_zeroes='on'/>
53
+ <source file='/var/lib/libvirt/images/test2.qcow2'/>
54
+ <target dev='vdb' bus='ide'/>
55
+ </disk>
47
56
  <disk type='file' device='disk'>
48
57
  <driver name='qemu' type='qcow2' cache='default'/>
49
58
  <source file='/var/lib/libvirt/images/test-disk1.qcow2'/>
50
59
  <target dev='vdb' bus='virtio'/>
51
60
  </disk>
52
61
  <disk type='file' device='disk'>
53
- <driver name='qemu' type='qcow2' cache='default'/>
62
+ <driver name='qemu' type='qcow2' cache='default' io='threads' copy_on_read='on' discard='unmap' detect_zeroes='on'/>
54
63
  <source file='/var/lib/libvirt/images/test-disk2.qcow2'/>
55
64
  <target dev='vdc' bus='virtio'/>
56
65
  </disk>
57
66
 
58
67
  <disk type='file' device='cdrom'>
68
+ <driver name='qemu' type='raw' />
59
69
  <source file=''/>
60
70
  <target dev='hda' bus='ide'/>
61
71
  <readonly/>
62
72
  </disk>
63
73
  <disk type='file' device='cdrom'>
74
+ <driver name='qemu' type='raw' />
64
75
  <source file=''/>
65
76
  <target dev='hdb' bus='ide'/>
66
77
  <readonly/>
@@ -23,7 +23,8 @@
23
23
  <apic/>
24
24
  <pae/>
25
25
  </features>
26
- <clock offset='utc'/>
26
+ <clock offset='utc'>
27
+ </clock>
27
28
  <devices>
28
29
 
29
30
 
@@ -23,7 +23,8 @@
23
23
  <apic/>
24
24
  <pae/>
25
25
  </features>
26
- <clock offset='utc'/>
26
+ <clock offset='utc'>
27
+ </clock>
27
28
  <devices>
28
29
 
29
30
 
@@ -9,6 +9,13 @@ describe 'templates/domain' do
9
9
  class DomainTemplateHelper < VagrantPlugins::ProviderLibvirt::Config
10
10
  include VagrantPlugins::ProviderLibvirt::Util::ErbTemplate
11
11
 
12
+ attr_accessor :domain_volumes
13
+
14
+ def initialize
15
+ super
16
+ @domain_volumes = []
17
+ end
18
+
12
19
  def finalize!
13
20
  super
14
21
  end
@@ -33,6 +40,10 @@ describe 'templates/domain' do
33
40
  domain.cpu_mode = 'custom'
34
41
  domain.cpu_feature(name: 'AAA', policy: 'required')
35
42
  domain.hyperv_feature(name: 'BBB', state: 'on')
43
+ domain.clock_offset = 'variable'
44
+ domain.clock_timer(name: 't1')
45
+ domain.clock_timer(name: 't2', track: 'b', tickpolicy: 'c', frequency: 'd', mode: 'e', present: 'yes')
46
+ domain.hyperv_feature(name: 'spinlocks', state: 'on', retries: '4096')
36
47
  domain.cputopology(sockets: '1', cores: '3', threads: '2')
37
48
  domain.machine_type = 'pc-compatible'
38
49
  domain.machine_arch = 'x86_64'
@@ -41,12 +52,24 @@ describe 'templates/domain' do
41
52
  domain.boot('cdrom')
42
53
  domain.boot('hd')
43
54
  domain.emulator_path = '/usr/bin/kvm-spice'
44
- domain.instance_variable_set('@domain_volume_path', '/var/lib/libvirt/images/test.qcow2')
45
- domain.instance_variable_set('@domain_volume_cache', 'unsafe')
55
+ domain.instance_variable_set('@domain_volume_cache', 'deprecated')
46
56
  domain.disk_bus = 'ide'
47
57
  domain.disk_device = 'vda'
58
+ domain.disk_driver(:cache => 'unsafe', :io => 'threads', :copy_on_read => 'on', :discard => 'unmap', :detect_zeroes => 'on')
59
+ domain.domain_volumes.push({
60
+ :dev => 1.vdev.to_s,
61
+ :cache => 'unsafe',
62
+ :bus => domain.disk_bus,
63
+ :path => '/var/lib/libvirt/images/test.qcow2'
64
+ })
65
+ domain.domain_volumes.push({
66
+ :dev => 2.vdev.to_s,
67
+ :cache => 'unsafe',
68
+ :bus => domain.disk_bus,
69
+ :path => '/var/lib/libvirt/images/test2.qcow2'
70
+ })
48
71
  domain.storage(:file, path: 'test-disk1.qcow2')
49
- domain.storage(:file, path: 'test-disk2.qcow2')
72
+ domain.storage(:file, path: 'test-disk2.qcow2', io: 'threads', copy_on_read: 'on', discard: 'unmap', detect_zeroes: 'on')
50
73
  domain.disks.each do |disk|
51
74
  disk[:absolute_path] = '/var/lib/libvirt/images/' + disk[:path]
52
75
  end
@@ -105,4 +128,78 @@ describe 'templates/domain' do
105
128
  expect(domain.to_xml('domain')).to eq xml_expected
106
129
  end
107
130
  end
131
+
132
+ context 'when tpm 2.0 device is specified' do
133
+ before do
134
+ domain.tpm_version = '2.0'
135
+ domain.tpm_type = 'emulator'
136
+ domain.tpm_model = 'tpm-crb'
137
+ end
138
+ let(:test_file) { 'tpm/version_2.0.xml' }
139
+ it 'renders template' do
140
+ domain.finalize!
141
+ expect(domain.to_xml('domain')).to eq xml_expected
142
+ end
143
+ end
144
+
145
+ context 'when tpm 1.2 device is implicitly used' do
146
+ before do
147
+ domain.tpm_path = '/dev/tpm0'
148
+ end
149
+ let(:test_file) { 'tpm/version_1.2.xml' }
150
+ it 'renders template' do
151
+ domain.finalize!
152
+ expect(domain.to_xml('domain')).to eq xml_expected
153
+ end
154
+ end
155
+
156
+ context 'memballoon' do
157
+ context 'default' do
158
+ it 'renders without specifying the xml tag' do
159
+ domain.finalize!
160
+
161
+ expect(domain.to_xml('domain')).to_not match(/memballoon/)
162
+ end
163
+ end
164
+
165
+ context 'memballon enabled' do
166
+ before do
167
+ domain.memballoon_enabled = true
168
+ end
169
+
170
+ it 'renders with memballon element' do
171
+ domain.finalize!
172
+
173
+ expect(domain.to_xml('domain')).to match(/<memballoon model='virtio'>/)
174
+ expect(domain.to_xml('domain')).to match(/<address type='pci' domain='0x0000' bus='0x00' slot='0x0f' function='0x0'\/>/)
175
+ end
176
+
177
+ context 'all settings specified' do
178
+ before do
179
+ domain.memballoon_model = "virtio-non-transitional"
180
+ domain.memballoon_pci_bus = "0x01"
181
+ domain.memballoon_pci_slot = "0x05"
182
+ end
183
+
184
+ it 'renders with specified values' do
185
+ domain.finalize!
186
+
187
+ expect(domain.to_xml('domain')).to match(/<memballoon model='virtio-non-transitional'>/)
188
+ expect(domain.to_xml('domain')).to match(/<address type='pci' domain='0x0000' bus='0x01' slot='0x05' function='0x0'\/>/)
189
+ end
190
+ end
191
+ end
192
+
193
+ context 'memballon disabled' do
194
+ before do
195
+ domain.memballoon_enabled = false
196
+ end
197
+
198
+ it 'renders the memballoon element with model none' do
199
+ domain.finalize!
200
+
201
+ expect(domain.to_xml('domain')).to match(/<memballoon model='none'\/>/)
202
+ end
203
+ end
204
+ end
108
205
  end
@@ -0,0 +1,54 @@
1
+ <domain type='' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
2
+ <name></name>
3
+ <title></title>
4
+ <description></description>
5
+ <uuid></uuid>
6
+ <memory></memory>
7
+ <vcpu>1</vcpu>
8
+
9
+
10
+ <cpu mode='host-model'>
11
+ <model fallback='allow'></model>
12
+ </cpu>
13
+
14
+
15
+ <os>
16
+ <type>hvm</type>
17
+ <kernel></kernel>
18
+ <initrd></initrd>
19
+ <cmdline></cmdline>
20
+ </os>
21
+ <features>
22
+ <acpi/>
23
+ <apic/>
24
+ <pae/>
25
+ </features>
26
+ <clock offset='utc'>
27
+ </clock>
28
+ <devices>
29
+
30
+
31
+ <serial type='pty'>
32
+ <target port='0'/>
33
+ </serial>
34
+ <console type='pty'>
35
+ <target port='0'/>
36
+ </console>
37
+
38
+
39
+ <input type='mouse' bus='ps2'/>
40
+
41
+ <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us' />
42
+ <video>
43
+ <model type='cirrus' vram='9216' heads='1'/>
44
+ </video>
45
+
46
+
47
+ <tpm model='tpm-tis'>
48
+ <backend type='passthrough'>
49
+ <device path='/dev/tpm0'/>
50
+ </backend>
51
+ </tpm>
52
+ </devices>
53
+
54
+ </domain>
@@ -0,0 +1,53 @@
1
+ <domain type='' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
2
+ <name></name>
3
+ <title></title>
4
+ <description></description>
5
+ <uuid></uuid>
6
+ <memory></memory>
7
+ <vcpu>1</vcpu>
8
+
9
+
10
+ <cpu mode='host-model'>
11
+ <model fallback='allow'></model>
12
+ </cpu>
13
+
14
+
15
+ <os>
16
+ <type>hvm</type>
17
+ <kernel></kernel>
18
+ <initrd></initrd>
19
+ <cmdline></cmdline>
20
+ </os>
21
+ <features>
22
+ <acpi/>
23
+ <apic/>
24
+ <pae/>
25
+ </features>
26
+ <clock offset='utc'>
27
+ </clock>
28
+ <devices>
29
+
30
+
31
+ <serial type='pty'>
32
+ <target port='0'/>
33
+ </serial>
34
+ <console type='pty'>
35
+ <target port='0'/>
36
+ </console>
37
+
38
+
39
+ <input type='mouse' bus='ps2'/>
40
+
41
+ <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='en-us' />
42
+ <video>
43
+ <model type='cirrus' vram='9216' heads='1'/>
44
+ </video>
45
+
46
+
47
+ <tpm model='tpm-crb'>
48
+ <backend type='emulator' version='2.0'>
49
+ </backend>
50
+ </tpm>
51
+ </devices>
52
+
53
+ </domain>
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-libvirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lukas Stanek
8
8
  - Dima Vasilets
9
9
  - Brian Pitts
10
- autorequire:
10
+ - Darragh Bailey
11
+ autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2020-11-16 00:00:00.000000000 Z
14
+ date: 2021-06-07 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: rspec-core
@@ -54,6 +55,34 @@ dependencies:
54
55
  - - "~>"
55
56
  - !ruby/object:Gem::Version
56
57
  version: 3.5.0
58
+ - !ruby/object:Gem::Dependency
59
+ name: simplecov
60
+ requirement: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ - !ruby/object:Gem::Dependency
73
+ name: simplecov-lcov
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
57
86
  - !ruby/object:Gem::Dependency
58
87
  name: fog-libvirt
59
88
  requirement: !ruby/object:Gem::Requirement
@@ -82,6 +111,20 @@ dependencies:
82
111
  - - "~>"
83
112
  - !ruby/object:Gem::Version
84
113
  version: '2.1'
114
+ - !ruby/object:Gem::Dependency
115
+ name: rexml
116
+ requirement: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ type: :runtime
122
+ prerelease: false
123
+ version_requirements: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
85
128
  - !ruby/object:Gem::Dependency
86
129
  name: nokogiri
87
130
  requirement: !ruby/object:Gem::Requirement
@@ -115,6 +158,7 @@ email:
115
158
  - ls@elostech.cz
116
159
  - pronix.service@gmail.com
117
160
  - brian@polibyte.com
161
+ - daragh.bailey@gmail.com
118
162
  executables: []
119
163
  extensions: []
120
164
  extra_rdoc_files: []
@@ -123,6 +167,7 @@ files:
123
167
  - README.md
124
168
  - lib/vagrant-libvirt.rb
125
169
  - lib/vagrant-libvirt/action.rb
170
+ - lib/vagrant-libvirt/action/clean_machine_folder.rb
126
171
  - lib/vagrant-libvirt/action/create_domain.rb
127
172
  - lib/vagrant-libvirt/action/create_domain_volume.rb
128
173
  - lib/vagrant-libvirt/action/create_network_interfaces.rb
@@ -155,10 +200,12 @@ files:
155
200
  - lib/vagrant-libvirt/action/start_domain.rb
156
201
  - lib/vagrant-libvirt/action/suspend_domain.rb
157
202
  - lib/vagrant-libvirt/action/wait_till_up.rb
158
- - lib/vagrant-libvirt/cap/mount_p9.rb
203
+ - lib/vagrant-libvirt/cap/mount_9p.rb
204
+ - lib/vagrant-libvirt/cap/mount_virtiofs.rb
159
205
  - lib/vagrant-libvirt/cap/nic_mac_addresses.rb
160
206
  - lib/vagrant-libvirt/cap/public_address.rb
161
- - lib/vagrant-libvirt/cap/synced_folder.rb
207
+ - lib/vagrant-libvirt/cap/synced_folder_9p.rb
208
+ - lib/vagrant-libvirt/cap/synced_folder_virtiofs.rb
162
209
  - lib/vagrant-libvirt/config.rb
163
210
  - lib/vagrant-libvirt/driver.rb
164
211
  - lib/vagrant-libvirt/errors.rb
@@ -181,26 +228,45 @@ files:
181
228
  - lib/vagrant-libvirt/version.rb
182
229
  - locales/en.yml
183
230
  - spec/spec_helper.rb
231
+ - spec/support/binding_proc.rb
184
232
  - spec/support/environment_helper.rb
185
233
  - spec/support/libvirt_context.rb
234
+ - spec/support/matchers/have_file_content.rb
186
235
  - spec/support/sharedcontext.rb
236
+ - spec/unit/action/clean_machine_folder_spec.rb
187
237
  - spec/unit/action/create_domain_spec.rb
188
- - spec/unit/action/create_domain_spec/default_storage_pool.xml
238
+ - spec/unit/action/create_domain_spec/additional_disks_domain.xml
239
+ - spec/unit/action/create_domain_spec/default_domain.xml
240
+ - spec/unit/action/create_domain_spec/default_system_storage_pool.xml
241
+ - spec/unit/action/create_domain_spec/default_user_storage_pool.xml
242
+ - spec/unit/action/create_domain_volume_spec.rb
243
+ - spec/unit/action/create_domain_volume_spec/one_disk_in_storage.xml
244
+ - spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_0.xml
245
+ - spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_1.xml
246
+ - spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_2.xml
189
247
  - spec/unit/action/destroy_domain_spec.rb
248
+ - spec/unit/action/forward_ports_spec.rb
249
+ - spec/unit/action/halt_domain_spec.rb
250
+ - spec/unit/action/handle_box_image_spec.rb
190
251
  - spec/unit/action/set_name_of_domain_spec.rb
191
252
  - spec/unit/action/start_domain_spec.rb
253
+ - spec/unit/action/start_domain_spec/clock_timer_rtc.xml
192
254
  - spec/unit/action/start_domain_spec/default.xml
255
+ - spec/unit/action/start_domain_spec/default_added_tpm_path.xml
256
+ - spec/unit/action/start_domain_spec/default_added_tpm_version.xml
193
257
  - spec/unit/action/wait_till_up_spec.rb
194
258
  - spec/unit/config_spec.rb
195
259
  - spec/unit/templates/domain_all_settings.xml
196
260
  - spec/unit/templates/domain_custom_cpu_model.xml
197
261
  - spec/unit/templates/domain_defaults.xml
198
262
  - spec/unit/templates/domain_spec.rb
263
+ - spec/unit/templates/tpm/version_1.2.xml
264
+ - spec/unit/templates/tpm/version_2.0.xml
199
265
  homepage: https://github.com/vagrant-libvirt/vagrant-libvirt
200
266
  licenses:
201
267
  - MIT
202
268
  metadata: {}
203
- post_install_message:
269
+ post_install_message:
204
270
  rdoc_options: []
205
271
  require_paths:
206
272
  - lib
@@ -215,24 +281,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
281
  - !ruby/object:Gem::Version
216
282
  version: '0'
217
283
  requirements: []
218
- rubygems_version: 3.0.8
219
- signing_key:
284
+ rubyforge_project:
285
+ rubygems_version: 2.7.11
286
+ signing_key:
220
287
  specification_version: 4
221
288
  summary: libvirt provider for Vagrant.
222
289
  test_files:
223
- - spec/support/libvirt_context.rb
224
- - spec/support/sharedcontext.rb
225
- - spec/support/environment_helper.rb
226
- - spec/unit/templates/domain_all_settings.xml
227
- - spec/unit/templates/domain_custom_cpu_model.xml
228
- - spec/unit/templates/domain_defaults.xml
229
- - spec/unit/templates/domain_spec.rb
230
- - spec/unit/action/create_domain_spec/default_storage_pool.xml
290
+ - spec/unit/action/start_domain_spec.rb
231
291
  - spec/unit/action/create_domain_spec.rb
292
+ - spec/unit/action/forward_ports_spec.rb
232
293
  - spec/unit/action/wait_till_up_spec.rb
294
+ - spec/unit/action/clean_machine_folder_spec.rb
295
+ - spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_2.xml
296
+ - spec/unit/action/create_domain_volume_spec/one_disk_in_storage.xml
297
+ - spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_1.xml
298
+ - spec/unit/action/create_domain_volume_spec/three_disks_in_storage_disk_0.xml
299
+ - spec/unit/action/start_domain_spec/default_added_tpm_version.xml
300
+ - spec/unit/action/start_domain_spec/clock_timer_rtc.xml
301
+ - spec/unit/action/start_domain_spec/default.xml
302
+ - spec/unit/action/start_domain_spec/default_added_tpm_path.xml
233
303
  - spec/unit/action/destroy_domain_spec.rb
234
- - spec/unit/action/start_domain_spec.rb
304
+ - spec/unit/action/create_domain_spec/default_system_storage_pool.xml
305
+ - spec/unit/action/create_domain_spec/default_user_storage_pool.xml
306
+ - spec/unit/action/create_domain_spec/additional_disks_domain.xml
307
+ - spec/unit/action/create_domain_spec/default_domain.xml
308
+ - spec/unit/action/handle_box_image_spec.rb
235
309
  - spec/unit/action/set_name_of_domain_spec.rb
236
- - spec/unit/action/start_domain_spec/default.xml
310
+ - spec/unit/action/halt_domain_spec.rb
311
+ - spec/unit/action/create_domain_volume_spec.rb
237
312
  - spec/unit/config_spec.rb
313
+ - spec/unit/templates/domain_defaults.xml
314
+ - spec/unit/templates/domain_all_settings.xml
315
+ - spec/unit/templates/domain_spec.rb
316
+ - spec/unit/templates/tpm/version_1.2.xml
317
+ - spec/unit/templates/tpm/version_2.0.xml
318
+ - spec/unit/templates/domain_custom_cpu_model.xml
319
+ - spec/support/libvirt_context.rb
320
+ - spec/support/matchers/have_file_content.rb
321
+ - spec/support/environment_helper.rb
322
+ - spec/support/binding_proc.rb
323
+ - spec/support/sharedcontext.rb
238
324
  - spec/spec_helper.rb