Files
podman/pkg/machine/qemu/command/command_windows.go
Jan Kaluza a98154a978 Switch common, storage and image to monorepo.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2025-09-01 12:33:04 +02:00

16 lines
306 B
Go

//go:build windows
package command
import (
"strconv"
"go.podman.io/common/pkg/strongunits"
)
// SetMemory adds the specified amount of memory for the machine
func (q *QemuCmd) SetMemory(m strongunits.MiB) {
serializedMem := strconv.FormatUint(uint64(m), 10)
*q = append(*q, "-m", serializedMem)
}