qemu

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCluster

func NewCluster(conf *Options, outputDir string) (platform.Cluster, error)

NewCluster creates a Cluster instance, suitable for running virtual machines in QEMU.

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) NewMachine

func (qc *Cluster) NewMachine(cfg string) (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

	*platform.Options
}

Options contains QEMU-specific options for the cluster.

Jump to

Keyboard shortcuts

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