Documentation ¶
Overview ¶
A qemu qmp wrapper. qmp will connect to qmp unix domain sockets associated with running instances of qemu.
Index ¶
- Variables
- type Conn
- func (q *Conn) BlockdevChange(device, path string) error
- func (q *Conn) BlockdevEject(device string, force bool) error
- func (q *Conn) BlockdevSnapshot(path, device string) error
- func (q *Conn) DriveAdd(id, file string) (string, error)
- func (q *Conn) DriveDel(id string) (string, error)
- func (q *Conn) HumanMonitorCommand(command string) (string, error)
- func (q *Conn) Message() map[string]interface{}
- func (q *Conn) MigrateDisk(path string) error
- func (q *Conn) NetDevAdd(devType, id, ifname string) (string, error)
- func (q *Conn) NicAdd(id, netdevID, bus, driver, mac string) (string, error)
- func (q *Conn) Pmemsave(path string, size uint64) error
- func (q *Conn) QueryBlock() ([]interface{}, error)
- func (q *Conn) QueryBlockJobs() ([]interface{}, error)
- func (q *Conn) QueryMigrate() (map[string]interface{}, error)
- func (q *Conn) Raw(input string) (string, error)
- func (q *Conn) SaveDisk(path, device string) error
- func (q *Conn) Screendump(path string) error
- func (q *Conn) Start() error
- func (q *Conn) Status() (map[string]interface{}, error)
- func (q *Conn) Stop() error
- func (q *Conn) USBDeviceAdd(id, bus, serial string) (string, error)
- func (q *Conn) USBDeviceDel(id string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ERR_READY = errors.New("qmp is not ready")
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) BlockdevChange ¶
func (*Conn) BlockdevSnapshot ¶
func (*Conn) HumanMonitorCommand ¶
func (*Conn) MigrateDisk ¶
func (*Conn) QueryBlock ¶
func (*Conn) QueryBlockJobs ¶
func (*Conn) QueryMigrate ¶
func (*Conn) Screendump ¶
Click to show internal directories.
Click to hide internal directories.