qemu-e2k/qga
Vinzenz Feenstra 161a56a906 qga: Add 'guest-get-users' command
A command that will list all currently logged in users, and the time
since when they are logged in.

Examples:

virsh # qemu-agent-command F25 '{ "execute": "guest-get-users" }'
{"return":[{"login-time":1490622289.903835,"user":"root"}]}

virsh # qemu-agent-command Win2k12r2 '{ "execute": "guest-get-users" }'
{"return":[{"login-time":1490351044.670552,"domain":"LADIDA",
"user":"Administrator"}]}

Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
* make g_hash_table_contains compat func inline to avoid
  unused warnings
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2017-04-26 23:57:45 -05:00
..
installer qga: Workaround for console redirection from non-interactive qemu-ga service 2016-04-07 11:43:54 -05:00
vss-win32 qga-win: Fix Event Viewer errors caused by qemu-ga 2017-04-26 23:56:47 -05:00
channel-posix.c qga: add systemd socket activation support 2017-03-06 00:54:18 -06:00
channel-win32.c qga: add systemd socket activation support 2017-03-06 00:54:18 -06:00
channel.h qga: add systemd socket activation support 2017-03-06 00:54:18 -06:00
commands-posix.c qga: Add 'guest-get-users' command 2017-04-26 23:57:45 -05:00
commands-win32.c qga: Add 'guest-get-users' command 2017-04-26 23:57:45 -05:00
commands.c qga: Add 'guest-get-host-name' command 2017-04-26 23:56:47 -05:00
guest-agent-command-state.c qga: free remaining leaking state 2016-09-08 17:57:32 +04:00
guest-agent-core.h qapi: Support multiple command registries per program 2017-03-05 09:12:25 +01:00
main.c qga-win: Fix a bug where qemu-ga service is stuck during stop operation 2017-04-26 23:56:47 -05:00
Makefile.objs
qapi-schema.json qga: Add 'guest-get-users' command 2017-04-26 23:57:45 -05:00
service-win32.c qga: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
service-win32.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
vss-win32.c qga: Make errp the last parameter of qga_vss_fsfreeze 2017-04-24 09:13:44 +02:00
vss-win32.h qga-win: Fix a bug where qemu-ga service is stuck during stop operation 2017-04-26 23:56:47 -05:00