]> xenbits.xensource.com Git - libvirt.git/commit
qemu: implementing qemuAgentGetHostname() function.
authorJulio Faracco <jcfaracco@gmail.com>
Wed, 5 Sep 2018 04:20:53 +0000 (01:20 -0300)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 5 Sep 2018 17:13:37 +0000 (13:13 -0400)
commit597bba39ecf1040486b52535cbeb92e3fd4dcca8
treeb849e787abef018b0a39f415c6d7c9aea0cb0f60
parentcce981331ef8ab6adb952702bb3edca48f2a492f
qemu: implementing qemuAgentGetHostname() function.

This commit implements the function qemuAgentGetHostname() that uses
the QEMU guest agent command 'guest-get-host-name' to retrieve the
guest hostname of virtual machine running the QEMU-GA.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_agent.c
src/qemu/qemu_agent.h