vagrant-qemu 0.6.1 → 0.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7af3fcc9e9a9210bea30f44da695c87fbd15c24eed79de64540bb01ec5d4842
4
- data.tar.gz: 805730ceb9574de982d6c20f4b8a7e04c37b13fbdc47ca902ddde6fcf844fef5
3
+ metadata.gz: 440c288ae31987a57f90398d4b8c621ff32377ca8e6479a64e74d221fde483b3
4
+ data.tar.gz: 1dbd3b2b5fcb3d0bd68f384fd9cb6bde0700552c7960e0ae79d536b6ed6b5841
5
5
  SHA512:
6
- metadata.gz: d9613c43e9ea63da345bf0745b3825578cb9d32a8e9465b91a9beea36c571e085d9a325675d28e1a98fe655fbabffb0b29f8e6107e90a13dc504ba83e1b007c8
7
- data.tar.gz: 96a64e28147f0a7c6c7994695d8b423088f7f3eb80c18288d2652120e24c5479d88d9d407455f10e0ab252a7cacbf0fb2f0c0ef2a22a403c625d3826d5002ec5
6
+ metadata.gz: e067f314f5c759d43ba2a3b49980c9610847abdfbd360dfa2007e65b9eaee0d7d8f0bfd6f0a9c3e393f8b7f238499eb672376c1a8550a60e97d81d6c6f1278c4
7
+ data.tar.gz: c8576beb1bbb8da421f5c4e8d4eabd4e77b536bcca3abae4b1c39d3fe47d5817589452dda06b0af492d0776133c3780f7da03004dd058e68b3358ba797bc8044
data/CHANGELOG.md CHANGED
@@ -186,3 +186,12 @@
186
186
  core `cloud_init` user-data config, i.e. the `net_mode` examples above)
187
187
  being re-registered as a duplicate disk on every same-process reload,
188
188
  hitting the same QEMU write-lock error via a different disk.
189
+
190
+ # 0.6.2 (2026-07-22)
191
+
192
+ * Fix the default QEMU args crashing the VM on distros whose qemu-kvm build
193
+ doesn't include the legacy parallel port device (e.g. Rocky Linux, and
194
+ likely RHEL and other derivatives). `-parallel null` still instantiates
195
+ that device, just with its output discarded; `-parallel none` — now the
196
+ default — skips creating it entirely, matching how the other default args
197
+ (`-monitor`/`-display`/`-vga`) already disable their optional devices. (#80)
@@ -120,7 +120,7 @@ module VagrantPlugins
120
120
  @debug_port = nil if @debug_port == UNSET_VALUE
121
121
  @no_daemonize = false if @no_daemonize == UNSET_VALUE
122
122
  @firmware_format = "raw" if @firmware_format == UNSET_VALUE
123
- @other_default = %W(-parallel null -monitor none -display none -vga none) if @other_default == UNSET_VALUE
123
+ @other_default = %W(-parallel none -monitor none -display none -vga none) if @other_default == UNSET_VALUE
124
124
  @extra_image_opts = nil if @extra_image_opts == UNSET_VALUE
125
125
  @graceful_timeout = 60 if @graceful_timeout == UNSET_VALUE
126
126
  @advanced_network = false if @advanced_network == UNSET_VALUE
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module QEMU
3
- VERSION = '0.6.1'
3
+ VERSION = '0.6.2'
4
4
  end
5
5
  end
@@ -50,6 +50,15 @@ describe VagrantPlugins::QEMU::Config do
50
50
  it "ssh_port stays 50022 regardless of host" do
51
51
  expect(finalized(host_arch: "x86_64", host_accel: "kvm").ssh_port).to eq 50022
52
52
  end
53
+
54
+ it "disables the parallel port instead of attaching a null-backed device" do
55
+ # "-parallel null" still instantiates the isa-parallel device (guest sees
56
+ # it, output discarded); some distro qemu-kvm builds (e.g. Rocky/RHEL)
57
+ # don't compile that device in, so instantiating it crashes. "none" skips
58
+ # device creation entirely and works everywhere.
59
+ expect(finalized(host_arch: "x86_64", host_accel: "kvm").other_default)
60
+ .to eq %w(-parallel none -monitor none -display none -vga none)
61
+ end
53
62
  end
54
63
 
55
64
  describe "#default_qemu_dir" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-qemu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ppggff