Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLinuxOnly = errors.New("firecracker: real engine requires Linux with KVM")
ErrLinuxOnly is returned when the real Firecracker engine is constructed on a host without Linux/KVM support.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Engine vmexec.EngineConfig
VCPUCount int64
MemoryMiB int64
StateDir string
ImageManifestPath string
KernelImagePath string
KernelImageSHA256 string
RootfsImagePath string
RootfsImageSHA256 string
RootfsSizeBytes int64
ImageID string
AgentProtocolVersion int
GuestVSockPort uint32
KernelArgs string
FirecrackerBinary string
JailerBinary string
JailerUID int
JailerGID int
// AllowFullCopy permits a byte-for-byte rootfs copy when FICLONE is not
// supported. When false, lack of reflink support fails the job pre-boot.
AllowFullCopy bool
}
Config defines all resources and host paths needed by the Firecracker engine. Required fields intentionally have no production defaults.
Click to show internal directories.
Click to hide internal directories.