spiegel_podman/pkg/machine
Paul Holzinger f630eebcfa
pkg/machine/compression: skip decompress bar for empty file
When the file is empty it is possible our code panics as bar.ProxyReader
returns nil when the bar is finished which is the case for 0 size as it
doesn't have to read anything from there. However as this happens on
different goroutines it is race and most of the time still works.

To fix this simply skip the progress bar setup for empty files.

While at it fix the deprecated argument in the tests.

Fixes #23281

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-07-18 13:23:00 +02:00
..
apple apple virtiofs: fix racy mount setup 2024-06-27 14:24:07 +02:00
applehv Add Rosetta support for Apple Silicon mac 2024-05-17 17:53:28 +09:00
compression pkg/machine/compression: skip decompress bar for empty file 2024-07-18 13:23:00 +02:00
connection Fix updating connection when SSH port conflict happens 2024-05-14 16:15:56 +01:00
define Remove the unused machine volume-driver 2024-06-30 20:25:59 +02:00
e2e Merge pull request #23223 from baude/libkrundoc 2024-07-09 14:45:51 +00:00
env pkg/machine: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
hyperv Add Rosetta support for Apple Silicon mac 2024-05-17 17:53:28 +09:00
ignition Add Rosetta support for Apple Silicon mac 2024-05-17 17:53:28 +09:00
libkrun Add Rosetta support for Apple Silicon mac 2024-05-17 17:53:28 +09:00
lock pkg/machine: make checkExclusiveActiveVM race free 2024-03-14 11:13:08 +01:00
ocipull Use a defined constant instead of a hard-coded magic value 2024-05-16 15:50:12 -04:00
os Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
ports Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
provider Podman machine resets all providers 2024-06-27 13:14:29 -04:00
proxyenv machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
qemu machine/linux: Switch to virtiofs by default 2024-06-07 10:03:06 -04:00
shim Merge pull request #23123 from baude/libkruntest 2024-07-02 13:28:27 +00:00
sockets pkg/machine: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
stdpull Clean machine pull cache 2024-04-26 12:31:42 -04:00
vmconfigs Add Rosetta support for Apple Silicon mac 2024-05-17 17:53:28 +09:00
wsl Merge pull request #22922 from BlackHole1/improve-windows 2024-06-27 12:49:35 +00:00
cleanup.go Clean up gvproxy if machine start fails 2024-02-27 13:33:43 -06:00
config.go update golangci-lint to v1.59.1 2024-06-10 14:57:45 +02:00
config_test.go Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
fedora_unix.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
fedora_windows.go Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
gvproxy.go pkg/machine: ignore gvproxy pidfile not exists error 2024-02-22 12:39:20 +01:00
gvproxy_unix.go Move ignition functions into Containerfiles 2024-02-28 16:05:50 -06:00
gvproxy_windows.go Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
keys.go pkg/machine: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
machine_common.go Change API socket to be machine name isolated 2024-03-13 13:28:14 -05:00
machine_unix.go Complete WSL implementation, refactor a few areas 2024-02-11 12:58:11 -06:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go pkg/machine: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
pull.go Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
qemuprovider.go podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ssh.go Use built-in ssh impl for all non-pty operations 2024-03-24 21:25:22 -05:00
ssh_unix.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
ssh_windows.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
update.go Fix some comments 2024-04-13 15:20:19 +08:00
volumes.go machine/linux: Support virtiofs mounts (retain 9p default) 2024-06-07 10:03:06 -04:00