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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/vagrant-qemu/config.rb +1 -1
- data/lib/vagrant-qemu/version.rb +1 -1
- data/spec/unit/config_spec.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 440c288ae31987a57f90398d4b8c621ff32377ca8e6479a64e74d221fde483b3
|
|
4
|
+
data.tar.gz: 1dbd3b2b5fcb3d0bd68f384fd9cb6bde0700552c7960e0ae79d536b6ed6b5841
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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)
|
data/lib/vagrant-qemu/config.rb
CHANGED
|
@@ -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
|
|
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
|
data/lib/vagrant-qemu/version.rb
CHANGED
data/spec/unit/config_spec.rb
CHANGED
|
@@ -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
|