Documentation ¶
Index ¶
Constants ¶
View Source
const (
Platform platform.Name = "qemu"
)
Variables ¶
This section is empty.
Functions ¶
func MakeDiskTemplate ¶ added in v0.6.0
Copy input image to output and specialize output for running kola tests. This is not mandatory; the tests will do their best without it.
func NewCluster ¶
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 (*Cluster) NewMachineWithOptions ¶ added in v0.8.0
type MachineOptions ¶ added in v0.8.0
type MachineOptions struct {
AdditionalDisks []Disk
}
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.
Click to show internal directories.
Click to hide internal directories.