]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add helper function for querying OS info
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 23 Aug 2019 16:31:18 +0000 (11:31 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Aug 2019 15:27:40 +0000 (17:27 +0200)
commitd5b5a890dd6941e1cb05fa8e6c12d21fd449c8ad
treefecb5343518c00b4ae539f58dd44165c3b9f9276
parent1c8113f9c84d647ec29b63606b8393aeea199a8d
qemu: add helper function for querying OS info

This function queries the guest operating system information and adds
the returned information to an array of typed parameters with field
names intended to be returned in virDomainGetGuestInfo().

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_agent.c
src/qemu/qemu_agent.h
tests/qemuagenttest.c