qemu

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

View Source
const (
	Platform platform.Name = "qemu"
)

Variables

This section is empty.

Functions

func NewFlight added in v0.12.0

func NewFlight(opts *Options) (platform.Flight, error)

Types

type Cluster

type Cluster struct {
	*local.LocalCluster
	// 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) Destroy

func (qc *Cluster) Destroy()

func (*Cluster) NewMachine

func (qc *Cluster) NewMachine(userdata *conf.UserData) (platform.Machine, error)

func (*Cluster) NewMachineWithOptions added in v0.8.0

func (qc *Cluster) NewMachineWithOptions(userdata *conf.UserData, options platform.MachineOptions) (platform.Machine, error)

type Options

type Options struct {
	// DiskImage is the full path to the disk image to boot in QEMU.
	DiskImage string
	Board     string

	// BIOSImage is name of the BIOS file to pass to QEMU.
	// It can be a plain name, or a full path.
	BIOSImage string

	// Don't modify CL disk images to add console logging
	UseVanillaImage bool

	*platform.Options
}

Options contains QEMU-specific options for the flight.

Jump to

Keyboard shortcuts

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