]> xenbits.xensource.com Git - libvirt.git/commit
qemu: add helper for getting guest users
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 23 Aug 2019 16:31:17 +0000 (11:31 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 26 Aug 2019 15:27:40 +0000 (17:27 +0200)
commit1c8113f9c84d647ec29b63606b8393aeea199a8d
tree4a9e7c3666ef8cdc2b1b4e9407f343f6764a7b30
parente8b83b2aacb8a62c87a91e6b94aa745494f335d3
qemu: add helper for getting guest users

This function fetches the list of logged-in users from the qemu agent
and adds them to a list of typed parameters so that they can be used
internally in libvirt.

Also add some basic tests for the function.

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