Versions in this module Expand all Collapse all v0 v0.2.1 Jul 6, 2015 Changes in this version + const QMP_ERROR + const QMP_EVENT + const QMP_EVENT_SHUTDOWN + const QMP_FINISH + const QMP_INIT + const QMP_INTERNAL_ERROR + const QMP_QUIT + const QMP_RESULT + const QMP_SESSION + const QMP_TIMEOUT + const QmpSockName + type QemuContext struct + func (qc *QemuContext) AddDisk(ctx *hypervisor.VmContext, name, sourceType, filename, format string, id int) + func (qc *QemuContext) AddNic(ctx *hypervisor.VmContext, host *hypervisor.HostNicInfo, ...) + func (qc *QemuContext) Associate(ctx *hypervisor.VmContext) + func (qc *QemuContext) BuildinNetwork() bool + func (qc *QemuContext) Close() + func (qc *QemuContext) Dump() (map[string]interface{}, error) + func (qc *QemuContext) Kill(ctx *hypervisor.VmContext) + func (qc *QemuContext) Launch(ctx *hypervisor.VmContext) + func (qc *QemuContext) RemoveDisk(ctx *hypervisor.VmContext, filename, format string, id int, ...) + func (qc *QemuContext) RemoveNic(ctx *hypervisor.VmContext, device, mac string, callback hypervisor.VmEvent) + func (qc *QemuContext) Shutdown(ctx *hypervisor.VmContext) + type QemuDriver struct + func (qd *QemuDriver) InitContext(homeDir string) hypervisor.DriverContext + func (qd *QemuDriver) Initialize() error + func (qd *QemuDriver) LoadContext(persisted map[string]interface{}) (hypervisor.DriverContext, error) + type QmpCommand struct + Arguments map[string]interface{} + Execute string + Scm []byte + type QmpError struct + Cause map[string]interface{} + func (qmp *QmpError) Finish(callback hypervisor.VmEvent) *QmpFinish + func (qmp *QmpError) MessageType() int + type QmpEvent struct + Data interface{} + Timestamp QmpTimeStamp + Type string + func (qmp *QmpEvent) MessageType() int + type QmpFinish struct + func (qmp *QmpFinish) MessageType() int + type QmpInit struct + func (qmp *QmpInit) MessageType() int + type QmpInteraction interface + MessageType func() int + type QmpInternalError struct + func (qmp *QmpInternalError) MessageType() int + type QmpQuit struct + func (qmp *QmpQuit) MessageType() int + type QmpResponse struct + func (qmp *QmpResponse) UnmarshalJSON(raw []byte) error + type QmpResult struct + Return map[string]interface{} + func (qmp *QmpResult) MessageType() int + type QmpSession struct + func (qmp *QmpSession) Finish() *QmpFinish + func (qmp *QmpSession) MessageType() int + type QmpTimeStamp struct + Microseconds uint64 + Seconds uint64 + type QmpTimeout struct + func (qmp *QmpTimeout) MessageType() int