spiegel_podman/pkg/machine/qemu
Paul Holzinger 4f1d4ae8a0
fix new lint issues from prealloc
Fix a few new issues reported by the linter update.

There is no need to copy the capAdd/capDrop slice in the compat create
endpoint as they are only read and not modified.
For the other code preallocate the slices so we safe memory allocations.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-03-10 19:45:35 +01:00
..
command fix new lint issues from prealloc 2026-03-10 19:45:35 +01:00
config.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
config_test.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
machine.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
machine_unix.go Improve cross platform support in QEMU machine sources 2024-02-16 12:49:54 +02:00
machine_windows.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
options_freebsd_amd64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_freebsd_arm64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_linux_amd64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_linux_arm64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_windows_amd64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
options_windows_arm64.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
stubber.go Don't use append if not necessary 2026-02-11 11:41:10 -08:00
virtiofsd.go Don't use append if not necessary 2026-02-11 11:41:10 -08:00