Versions in this module Expand all Collapse all v0 v0.1.1 Oct 2, 2018 v0.1.0 Sep 25, 2018 Changes in this version + func GetNewListenPort(begin uint16) uint16 + type Qemu struct + func OpenQemu(id *uuid.UUID) (*Qemu, error) + func (q *Qemu) Close() error + func (q *Qemu) Delete() error + func (q *Qemu) Start(name, qmpPath string, vncWebsocketPort uint16, vcpus uint32, memory uint64) error + func (q Qemu) AttachISO(label string, filepath *url.URL, index uint) error + func (q Qemu) AttachQcow2(label string, filepath *url.URL, index uint) error + func (q Qemu) AttachTap(label, tap string, mac net.HardwareAddr) error + func (q Qemu) Boot() error + func (q Qemu) HardReset() error + func (q Qemu) HardShutdown() error + func (q Qemu) IsRunning() bool + func (q Qemu) Shutdown() error + func (q Qemu) Status() (Status, error) + type QemuArgValue struct + func GetQemuArgValue(option, id string, args []string) *QemuArgValue + type Status int + const StatusDebug + const StatusFinishMigrate + const StatusGuestPanicked + const StatusIOError + const StatusInMigrate + const StatusInternalError + const StatusPaused + const StatusPostMigrate + const StatusPreLaunch + const StatusRestoreVM + const StatusRunning + const StatusSaveVM + const StatusShutdown + const StatusSuspended + const StatusWatchdog