spiegel_podman/pkg/machine
Jan Rodák cfe4d46d89
Optimize image loading for Podman machines
Add support for loading images directly from machine paths to avoid
unnecessary file transfers when the image archive is already accessible
on the running machine through mounted directories.

Changes include:
- New /libpod/local/images/load API endpoint for direct machine loading
- Machine detection and path mapping functionality
- Fallback in tunnel mode to try optimized loading first

This optimization significantly speeds up image loading operations
when working with remote Podman machines by eliminating redundant
file transfers for already-accessible image archives.

Fixes: https://issues.redhat.com/browse/RUN-3249
Fixes: https://github.com/containers/podman/issues/26321

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-08-19 12:33:15 +02:00
..
apple machine: enable nested virt on libkrun by default 2025-06-26 09:53:06 -04:00
applehv update golangci-lint to v1.62.0 2024-11-11 14:21:17 +01:00
compression remove github.com/crc-org/crc/v2 dependency 2025-03-31 14:39:51 +02:00
connection Update connection on removal 2024-09-24 15:46:02 -04:00
define Add support for configuring tls verification with machine init 2025-08-05 21:02:28 +10:00
e2e Merge pull request #26718 from ninja-quokka/machine_init_tls_verify 2025-08-09 16:25:14 +00:00
env pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
hyperv Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
ignition pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
libkrun update golangci-lint to v1.62.0 2024-11-11 14:21:17 +01:00
lock pkg/machine: make checkExclusiveActiveVM race free 2024-03-14 11:13:08 +01:00
ocipull Add support for configuring tls verification with machine init 2025-08-05 21:02:28 +10:00
os Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
ports Refactor env dir and port functions into new leaf pkgs 2024-03-04 23:54:31 -06:00
provider Move detection of libkrun and intel 2025-01-29 13:26:45 -06:00
proxyenv Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
qemu pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
shim Add support for configuring tls verification with machine init 2025-08-05 21:02:28 +10:00
sockets pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
stdpull Clean machine pull cache 2024-04-26 12:31:42 -04:00
vmconfigs pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
wsl Enforce wsl.exe UTF-8 encoded output 2025-07-02 20:18:52 +00:00
cleanup.go Clean up gvproxy if machine start fails 2024-02-27 13:33:43 -06:00
config.go Optimize image loading for Podman machines 2025-08-19 12:33:15 +02:00
config_test.go Switch all calls of assert.Nil to assert.NoError 2025-01-15 07:08:27 -05:00
gvproxy.go Ignore ERROR_SHARING_VIOLATION error on windows 2024-08-06 14:09:36 -05:00
gvproxy_unix.go Update module github.com/shirou/gopsutil to v4 2024-09-03 18:20:12 +02:00
gvproxy_windows.go Ignore ERROR_SHARING_VIOLATION error on windows 2024-08-06 14:09:36 -05:00
keys.go pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
machine_common.go pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
machine_unix.go pkg/machine: remove deadcode 2025-06-26 19:37:15 +02:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go pkg/machine: fix various linter warnings 2025-03-31 12:27:55 -07:00
machine_windows_test.go Update CI to run Windows unit tests 2025-03-16 13:40:16 +00:00
qemuprovider.go podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ssh.go Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02: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 Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
volumes.go machine/linux: Support virtiofs mounts (retain 9p default) 2024-06-07 10:03:06 -04:00