Documentation ¶
Index ¶
- Constants
- func NewFlight(opts *Options) (platform.Flight, error)
- type Cluster
- func (qc *Cluster) Destroy()
- func (qc *Cluster) NewMachine(userdata *conf.UserData) (platform.Machine, error)
- func (qc *Cluster) NewMachineWithOptions(userdata *conf.UserData, options platform.MachineOptions) (platform.Machine, error)
- func (qc *Cluster) NewMachineWithQemuOptions(userdata *conf.UserData, options platform.QemuMachineOptions) (platform.Machine, error)
- type Options
Constants ¶
View Source
const (
Platform platform.Name = "qemu"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cluster ¶
type Cluster struct { *platform.BaseCluster // contains filtered or unexported fields }
Cluster is a local cluster of QEMU-based virtual machines.
XXX: must be exported so that certain QEMU tests can access struct members through type assertions.
func (*Cluster) NewMachine ¶
func (*Cluster) NewMachineWithOptions ¶
func (*Cluster) NewMachineWithQemuOptions ¶
type Options ¶
type Options struct { // DiskImage is the full path to the disk image to boot in QEMU. DiskImage string // DiskSize if non-empty will expand the disk DiskSize string // DriveOpts is arbitrary comma-separated list of options DriveOpts string // Firmware will be passed to qemu Firmware string Memory string Arch string NbdDisk bool MultiPathDisk bool Native4k bool Nvme bool //Option to create a temporary software TPM - true by default Swtpm bool // Array of $hostpath BindRO []string //IBM Secure Execution SecureExecution bool SecureExecutionIgnitionPubKey string SecureExecutionHostKey string *platform.Options }
Options contains QEMU-specific options for the flight.
Click to show internal directories.
Click to hide internal directories.