qemu-ga.old

command module
Version: v0.0.0-...-7d65031 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2015 License: MIT Imports: 38 Imported by: 0

README

cloud-agent

Documentation

Overview

This file is automatically generated by generate.go -- Do not edit!

Directories

Path Synopsis
command
guest_agent_update
guest-agent-update - update qemu-ga inside vm Example: { "execute": "guest-agent-update", "arguments": { "path": string // required, http/https/file path to qemu-ga binary for update "timeout": int // optional, timeout for http/https transport } }
guest-agent-update - update qemu-ga inside vm Example: { "execute": "guest-agent-update", "arguments": { "path": string // required, http/https/file path to qemu-ga binary for update "timeout": int // optional, timeout for http/https transport } }
guest_exec
guest-exec - run command inside vm Old command version syntax: { "execute": "guest-exec", "arguments": { "command": string // required, base64 encoded command name to execute with args including newline } } New command version syntax (preferred): { "execute": "guest-exec", "arguments": { "path": string, // required, command name to execute "arg": string, // optional, arguments to executed command "env": string, // optional, environment to executed command "input": string, // optional, base64 encoded string "capture-output": bool // optional, capture stdout/stderr } }
guest-exec - run command inside vm Old command version syntax: { "execute": "guest-exec", "arguments": { "command": string // required, base64 encoded command name to execute with args including newline } } New command version syntax (preferred): { "execute": "guest-exec", "arguments": { "path": string, // required, command name to execute "arg": string, // optional, arguments to executed command "env": string, // optional, environment to executed command "input": string, // optional, base64 encoded string "capture-output": bool // optional, capture stdout/stderr } }
guest_exec_status
guest-exec-status - get status from running command Example: { "execute": "guest-exec-status", "arguments": { "pid": int // required, process id from guest-exec } }
guest-exec-status - get status from running command Example: { "execute": "guest-exec-status", "arguments": { "pid": int // required, process id from guest-exec } }
guest_file_chmod
guest-file-chmod - set file mode Example: { "execute": "guest-file-chmod", "arguments": { "mode": int // required, file mode "path": string // optional, file path "handle": int // optional, file handle } }
guest-file-chmod - set file mode Example: { "execute": "guest-file-chmod", "arguments": { "mode": int // required, file mode "path": string // optional, file path "handle": int // optional, file handle } }
guest_file_chown
guest-file-chown - set file owner Example: { "execute": "guest-file-chown", "arguments": { "uid": int // required, file owner uid "gid": int // required, file owner gid "path": string // optional, file path "handle": int // optional, file handle } }
guest-file-chown - set file owner Example: { "execute": "guest-file-chown", "arguments": { "uid": int // required, file owner uid "gid": int // required, file owner gid "path": string // optional, file path "handle": int // optional, file handle } }
guest_file_close
guest-file-close - close file handle Example: { "execute": "guest-file-close", "arguments": { "handle": int // required, unique fd identifier } }
guest-file-close - close file handle Example: { "execute": "guest-file-close", "arguments": { "handle": int // required, unique fd identifier } }
guest_file_flush
guest-file-flush - flush buffered data to file Example: { "execute": "guest-file-flush", "arguments": { "handle": int // required, unique fd identifier } }
guest-file-flush - flush buffered data to file Example: { "execute": "guest-file-flush", "arguments": { "handle": int // required, unique fd identifier } }
guest_file_open
guest-file-open - open file inside guest and returns it handle Example: { "execute": "guest-file-open", "arguments": { "path": string // required, file path "mode": string // optional, file open mode } }
guest-file-open - open file inside guest and returns it handle Example: { "execute": "guest-file-open", "arguments": { "path": string // required, file path "mode": string // optional, file open mode } }
guest_file_read
guest-file-read - read file inside guest via fd Example: { "execute": "guest-file-read", "arguments": { "handle": int // required, unique fd identifier "count": int // optional, bytes count to read } }
guest-file-read - read file inside guest via fd Example: { "execute": "guest-file-read", "arguments": { "handle": int // required, unique fd identifier "count": int // optional, bytes count to read } }
guest_file_seek
guest-file-seek - seek on file Example: { "execute": "guest-file-seek", "arguments": { "handle": int // required, unique fd identifier "offset": int // required, offset inside file "whence": int // required, starting point to seek (-1, 0, 1) } }
guest-file-seek - seek on file Example: { "execute": "guest-file-seek", "arguments": { "handle": int // required, unique fd identifier "offset": int // required, offset inside file "whence": int // required, starting point to seek (-1, 0, 1) } }
guest_file_stat
guest-file-stat - get stat on file Example: { "execute": "guest-file-stat", "arguments": { "path": string // optional, file path "handle": int // optional, file handle } }
guest-file-stat - get stat on file Example: { "execute": "guest-file-stat", "arguments": { "path": string // optional, file path "handle": int // optional, file handle } }
guest_file_write
guest-file-write - write file to fd inside guest Example: { "execute": "guest-file-write", "arguments": { "handle": int // required, unique fd identifier "buf-b64": string // required, base64 encoded data "count": int // optional, number of bytes to write } }
guest-file-write - write file to fd inside guest Example: { "execute": "guest-file-write", "arguments": { "handle": int // required, unique fd identifier "buf-b64": string // required, base64 encoded data "count": int // optional, number of bytes to write } }
guest_fstrim
guest-fstrim - run fstrim on path Example: { "execute": "guest-fstrim", "arguments": { "minimum": int // optional, minimum trimmed range } }
guest-fstrim - run fstrim on path Example: { "execute": "guest-fstrim", "arguments": { "minimum": int // optional, minimum trimmed range } }
guest_get_time
guest-get-time - get current guest time in nanoseconds Example: { "execute": "guest-get-time", "arguments": {}}
guest-get-time - get current guest time in nanoseconds Example: { "execute": "guest-get-time", "arguments": {}}
guest_info
guest-info - request agent info from guest Example: { "execute": "guest-info", "arguments": {}}
guest-info - request agent info from guest Example: { "execute": "guest-info", "arguments": {}}
guest_memory_info
guest-memory-info - get guest memory info Example: { "execute": "guest-memory-info", "arguments": {}}
guest-memory-info - get guest memory info Example: { "execute": "guest-memory-info", "arguments": {}}
guest_ping
guest-ping - ping guest Example: { "execute": "guest-ping", "arguments": {}}
guest-ping - ping guest Example: { "execute": "guest-ping", "arguments": {}}
guest_set_time
guest-set-time - set guest time Example: { "execute": "guest-set-time", "arguments": { "time": int // optional, time to set } }
guest-set-time - set guest time Example: { "execute": "guest-set-time", "arguments": { "time": int // optional, time to set } }
guest_set_user_password
guest-set-user-password - sync host<->guest communication Example: { "execute": "guest-set-user-password", "arguments": { "username": string // required, username to change password "password": string // required, base64 encoded password "crypted": bool // optional, specify that password already encrypted } }
guest-set-user-password - sync host<->guest communication Example: { "execute": "guest-set-user-password", "arguments": { "username": string // required, username to change password "password": string // required, base64 encoded password "crypted": bool // optional, specify that password already encrypted } }
guest_shutdown
guest-shutdown - shutdown guest via agent Example: { "execute": "guest-shutdown", "arguments": { "mode": string // optional, shutdown mode (halt, reboot, powerdown), default powerdown } }
guest-shutdown - shutdown guest via agent Example: { "execute": "guest-shutdown", "arguments": { "mode": string // optional, shutdown mode (halt, reboot, powerdown), default powerdown } }
guest_stats
guest-stats - returns disk and memory stats from guest Example: { "execute": "guest-stats", "arguments": {}}
guest-stats - returns disk and memory stats from guest Example: { "execute": "guest-stats", "arguments": {}}
guest_sync
guest-sync - sync host<->guest communication Example: { "execute": "guest-sync", "arguments": { "id": int // required, unique identifier } }
guest-sync - sync host<->guest communication Example: { "execute": "guest-sync", "arguments": { "id": int // required, unique identifier } }
Package qga - common functions for qemu-ga
Package qga - common functions for qemu-ga

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL