qemu

package
v0.0.0-...-4e6bda9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Count     int    // number of VMs to use
	Qemu      string // qemu binary name (qemu-system-arch by default)
	Qemu_Args string // additional command line arguments for qemu binary
	Kernel    string // kernel for injected boot (e.g. arch/x86/boot/bzImage)
	Cmdline   string // kernel command line (can only be specified with kernel)
	Initrd    string // linux initial ramdisk. (optional)
	Cpu       int    // number of VM CPUs
	Mem       int    // amount of VM memory in MBs
}

type Pool

type Pool struct {
	// contains filtered or unexported fields
}

func (*Pool) Count

func (pool *Pool) Count() int

func (*Pool) Create

func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error)

Jump to

Keyboard shortcuts

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