Documentation ¶
Index ¶
- type Monitor
- type QemuCmd
- func (q *QemuCmd) Build() []string
- func (q *QemuCmd) SetBootableImage(image string)
- func (q *QemuCmd) SetCPUs(c uint64)
- func (q *QemuCmd) SetDisplay(display string)
- func (q *QemuCmd) SetIgnitionFile(file define.VMFile)
- func (q *QemuCmd) SetMemory(m strongunits.MiB)
- func (q *QemuCmd) SetNetwork(vlanSocket *define.VMFile) error
- func (q *QemuCmd) SetQmpMonitor(monitor Monitor)
- func (q *QemuCmd) SetSerialPort(readySocket, vmPidFile define.VMFile, name string)
- func (q *QemuCmd) SetUSBHostPassthrough(usbs []define.USBConfig)
- func (q *QemuCmd) SetVirtfsMount(source, tag, securityModel string, readonly bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type QemuCmd ¶
type QemuCmd []string
QemuCmd is an alias around a string slice to prevent the need to migrate the MachineVM struct due to changes
func NewQemuBuilder ¶
NewQemuBuilder creates a new QemuCmd object that we will build on top of, starting with the qemu binary, architecture specific options, and propagated proxy and SSL settings
func (*QemuCmd) SetBootableImage ¶
SetBootableImage specifies the image the machine will use to boot
func (*QemuCmd) SetDisplay ¶
SetDisplay specifies whether the machine will have a display
func (*QemuCmd) SetIgnitionFile ¶
SetIgnitionFile specifies the machine's ignition file
func (*QemuCmd) SetMemory ¶
func (q *QemuCmd) SetMemory(m strongunits.MiB)
SetMemory adds the specified amount of memory for the machine
func (*QemuCmd) SetNetwork ¶
SetNetwork adds a network device to the machine
func (*QemuCmd) SetQmpMonitor ¶
SetQmpMonitor specifies the machine's qmp socket
func (*QemuCmd) SetSerialPort ¶
SetSerialPort adds a serial port to the machine for readiness
func (*QemuCmd) SetUSBHostPassthrough ¶
SetNetwork adds a network device to the machine
func (*QemuCmd) SetVirtfsMount ¶
SetVirtfsMount adds a virtfs mount to the machine