Documentation ¶ Overview ¶ Package kvm provides VMs based on lkvm (kvmtool) virtualization. It is not well tested. Index ¶ type Config type Pool func (pool *Pool) Count() int func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) 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 Lkvm string // lkvm binary name Kernel string // e.g. arch/x86/boot/bzImage Cmdline string // kernel command line 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) Source Files ¶ View all Source files kvm.go Click to show internal directories. Click to hide internal directories.