incuspolicy

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DisableNestedVirtualizationRawQEMU is required on Incus 6.0.0. That
	// release accepts security.nesting=false for virtual machines but does not
	// remove the VMX/SVM CPU features from its generated QEMU command line.
	// Keeping this value closed and immutable prevents pool configuration from
	// becoming an arbitrary QEMU argument injection surface.
	DisableNestedVirtualizationRawQEMU = "-cpu host,-vmx,-svm"
)

Variables

This section is empty.

Functions

func VMInstanceConfig

func VMInstanceConfig() map[string]string

VMInstanceConfig returns a fresh map so callers cannot mutate shared policy.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL