Re: [libvirt] [PATCH v5 1/4] qemu: implementing qemuAgentGetHostname() function.

2018-09-05 Thread Julio Faracco
I don't remember if I sent any patch to include the check. But I remember that I saw that @mkletzan put the check right after the command execution. So, when you run a command the function automatically check for errors reported. Nice! Well, @jferlan you have my Ok. ;-) -- Julio Cesar Faracco Em

Re: [libvirt] [PATCH v5 1/4] qemu: implementing qemuAgentGetHostname() function.

2018-09-05 Thread John Ferlan
On 09/05/2018 12:20 AM, Julio Faracco wrote: > 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 > --- > src/qemu/q

[libvirt] [PATCH v5 1/4] qemu: implementing qemuAgentGetHostname() function.

2018-09-04 Thread Julio Faracco
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 --- src/qemu/qemu_agent.c | 47 +++