Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶
Types ¶
type RunConf ¶
type RunConf struct { // Image filename Image string // kernel filename to boot with. (if empty no -kernel option will be passed to qemu) KernelFname string // Do not run the qemu command, just print it QemuPrint bool // Do not use KVM acceleration, even if /dev/kvm exists DisableKVM bool // Daemonize QEMU after initializing Daemonize bool // Log file for virtual console output ConsoleLogFile string // Print qemu command before running it Verbose bool // Disable the network connection to the VM DisableNetwork bool ForwardedPorts runner.PortForwards Logger *logrus.Logger HostMount string SerialPort int CPU int Mem string // Kind of CPU to use (e.g. host or kvm64) CPUKind string QemuMonitorPort int }
Click to show internal directories.
Click to hide internal directories.