command/

directory
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

Directories

Path Synopsis
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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - ping guest Example: { "execute": "guest-ping", "arguments": {}}
guest-ping - ping guest Example: { "execute": "guest-ping", "arguments": {}}
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 - 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 - 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 - 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 - 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 } }

Jump to

Keyboard shortcuts

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