Changes

Jump to: navigation, search

Qemu Guest Agent Integration

58 bytes added, 10:32, 12 March 2015
/* Getting list of available qemu-ga commands */
<syntaxhighlight lang='bash'>
VMNAME=<UUID>virsh qemu-agent-command ${VMNAME } '{"execute":"guest-info"}'
</syntaxhighlight>
'''Example:'''
<source lang="bash">
~ # virsh qemuVMNAME=2d52c542-agent432b-command bc58f69742f1-1f2195a7-46135a152788fcd3virsh qemu-9f4dagent-469cdaff0621 command ${VMNAME} '{"execute":"guest-info"}'
</source>
The return values will look something like:<source lang="javascriptbash">
{"return":
{"version":"2.1.2","supported_commands":[
3,368
edits